Parser Building Toolkit for JavaScript
-
Updated
Dec 14, 2025 - TypeScript
A grammar describes the syntax of a programming language, and might be defined in Backus-Naur form (BNF). A lexer performs lexical analysis, turning text into tokens. A parser takes tokens and builds a data structure like an abstract syntax tree (AST). The parser is concerned with context: does the sequence of tokens fit the grammar? A compiler is a combined lexer and parser, built for a specific grammar.
Parser Building Toolkit for JavaScript
Reduce LLM token costs by 30-60% with TONL format. TypeScript library & CLI for bidirectional JSON/YAML ↔ TONL conversion with real GPT-5 tokenizer.
ZON → 35-70% cheaper LLM prompts than JSON/TOON. Zero overhead.
quick js checker to keep your builds right!
Web tool to count LLM tokens (GPT, Claude, Llama, ...)
Interface interativa para simulação de pré-vendas de tokens e criação de lançamentos fictícios em tempo real.
📐 Fast token estimation at 94% accuracy of a full tokenizer in a 2kB bundle
Lightweight JSON tokenizer with symmetric dictionary encoding for compression and optimization
🪁 Parser grammar builder. Write parsers with pattern matching.
a lightweight TypeScript/Javascript library for progressively parsing streamed text (LLM/SSE-like) into structured events. Perfect for LLM powered stream-chat applications
An advanced tokenizer made with typescript
Parse any kind of broken json for scrapping easily