Skip to content

Commit d1c8823

Browse files
docs: add npm version badge to README (fixes #2)
1 parent caa13a1 commit d1c8823

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# tokenx
22

3+
[![npm version](https://img.shields.io/npm/v/tokenx)](https://www.npmjs.com/package/tokenx)
4+
35
Fast and lightweight token count estimation for any LLM without requiring a full tokenizer. This library provides quick approximations that are good enough for most use cases while keeping your bundle size minimal.
46

57
For advanced use cases requiring precise token counts, please use a full tokenizer like [`gpt-tokenizer`](https://github.com/niieani/gpt-tokenizer).

0 commit comments

Comments
 (0)