Join Nostr
2025-06-30 17:36:50 GMT

melvincarvalho on Nostr: Tokmeter lets you quickly count tokens from the command line: # Count tokens in files ...

Tokmeter lets you quickly count tokens from the command line:

# Count tokens in files
tokmeter file1.txt file2.js

# Count tokens in text
tokmeter "Hello, world!"

# Count tokens from stdin
echo "Hello, world!" | tokmeter

https://www.npmjs.com/package/tokmeter