Lexical tokenizer with grammar classes ready to go.
A faster than tiktoken tokenizer with first-class support for Vercel's AI SDK.
Tokenize CSS
A promise based streaming tokenizer
Tokenized zip support
TypeScript definition for strtok3 token
Algorithms to help you parse CSS from an array of tokens.
Parses and stringifies CSS selectors
A pure JavaScript implementation of a BPE tokenizer (Encoder/Decoder) for GPT-2 / GPT-3 / GPT-4 and other OpenAI models
Solve CSS math expressions
A tokenzier for Sass' SCSS syntax
Simple HTML Tokenizer is a lightweight JavaScript library that can be used to tokenize the kind of HTML normally found in templates.
ProseMirror Markdown integration
Recursive-Length Prefix (RLP) coder.
tokenizer of source code for jscpd
Common token types for decoding and encoding numeric and string values
 
Utilities and Classes for parsing, formatting and managing Ethereum ABIs.
r/w stream of glsl tokens
Claude tokenizer
Tokenizes a string that represents a regular expression.
Base64 coder.
Parse CSS media query lists.
detector of copy/paste in files