Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -646,6 +646,7 @@ cat data.toon | npx @toon-format/cli --decode
| `--indent <number>` | Indentation size (default: `2`) |
| `--length-marker` | Add `#` prefix to array lengths (e.g., `items[#3]`) |
| `--stats` | Show token count estimates and savings (encode only) |
| `--time` | Show total encode/decode duration (in seconds) |
| `--no-strict` | Disable strict validation when decoding |

### Examples
Expand Down
1 change: 1 addition & 0 deletions packages/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ cat data.toon | toon --decode
| `--indent <number>` | Indentation size (default: `2`) |
| `--length-marker` | Add `#` prefix to array lengths (e.g., `items[#3]`) |
| `--stats` | Show token count estimates and savings (encode only) |
| `--time` | Show total encode/decode duration (in seconds) |
| `--no-strict` | Disable strict validation when decoding |

## Advanced Examples
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/bin/toon.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env node
'use strict'
import('../dist/index.js')
import('../dist/index.mjs')
Loading