Showing 1-20 of 288,755 packages
Common token types for decoding and encoding numeric and string values
Tokenize CSS
A promise based streaming tokenizer
Tokenized zip support
TypeScript definition for strtok3 token
Simple HTML Tokenizer is a lightweight JavaScript library that can be used to tokenize the kind of HTML normally found in templates.
A pure JavaScript implementation of a BPE tokenizer (Encoder/Decoder) for GPT-2 / GPT-3 / GPT-4 and other OpenAI models
ProseMirror Markdown integration
A tokenzier for Sass' SCSS syntax
Claude tokenizer
Parses and stringifies CSS selectors
Algorithms to help you parse CSS from an array of tokens.
JS tokenizer for LLaMA 3
Tokenizes a string that represents a regular expression.
JS tokenizer for LLaMA-based LLMs
Solve CSS math expressions
r/w stream of glsl tokens
Tiny JavaScript tokenizer.
Fast token estimation at 96% accuracy of a full tokenizer in a 2kB bundle