mirror of
https://github.com/voson-wang/toon.git
synced 2026-01-29 15:24:10 +08:00
* feat(cli): add --stats flag to show token efficiency - Add --stats boolean flag to display token count comparison - Calculate approximate tokens using char length / 4 heuristic - Show JSON vs TOON token counts with savings percentage - Opt-in feature, default behavior unchanged * feat: use tokenx for more accurate estimates --------- Co-authored-by: Johann Schopplich <mail@johannschopplich.com>
16 lines
240 B
JSON
16 lines
240 B
JSON
{
|
|
"name": "@toon/cli",
|
|
"type": "module",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "tsx ./src/index.ts"
|
|
},
|
|
"dependencies": {
|
|
"citty": "^0.1.6",
|
|
"consola": "^3.4.2"
|
|
},
|
|
"devDependencies": {
|
|
"tokenx": "^1.2.0"
|
|
}
|
|
}
|