Skip to content
JS
Package category

Parsers and serialisers

Parse and generate JSON, YAML, TOML, CSV, XML, Markdown and other formats.

1,438 packages70 comparisons

Packages compared

1,438 packages
PackageWeekly downloads12-month change52 weeksGzipLast releaseModuleTypesCategories
croner
Trigger functions and/or evaluate cron expressions in JavaScript. No dependencies. Most features. All environments.
7.1m+200%-7 months ago
10.0.1
ESM + CommonJSBundledQueues and background jobs, Parsers and serialisers
stream-json
A micro-library of stream components for building custom JSON and JSONC processing pipelines with a minimal memory footprint — parse, filter, and transform JSON far larger than available memory with a SAX-inspired token API, on Node.js or Web Streams.
6.9m+171%-5 days ago
3.7.0
ESM onlyBundledParsers and serialisers
turndown
A library that converts HTML to Markdown
6.8m+290%-5 months ago
7.2.4
ESM + CommonJSNoneMarkdown, Parsers and serialisers
postal-mime
Email parser for Node.js and browser environments
6.8m+13116%-1 month ago
3.0.0
ESM + CommonJSBundledEmail, Parsers and serialisers
mdast-util-definitions
mdast utility to find definition nodes in a tree
6.7m+44%-3 years ago
6.0.0
ESM onlyBundledMarkdown, Parsers and serialisers
@zkochan/js-yaml
YAML 1.2 parser and serializer
6.7m+58%-7 months ago
0.0.11
ESM + CommonJSNoneParsers and serialisers
web-tree-sitter
Tree-sitter bindings for the web
6.5m+751%-25 days ago
0.27.0
ESM + CommonJSBundledParsers and serialisers
json-stringify-pretty-compact
The best of both `JSON.stringify(obj)` and `JSON.stringify(obj, null, indent)`.
6.2m+206%-4 years ago
4.0.0
ESM onlyBundledParsers and serialisers, Linting and formatting
@hapi/formula
Math and string formula parser.
6.2m+303%-2 months ago
4.0.0
ESM onlyBundledNumbers and maths, Parsers and serialisers
protocol-buffers-schema
No nonsense protocol buffers schema parser written in Javascript
6m+152%-5 months ago
3.6.1
CommonJSNoneParsers and serialisers
postcss-values-parser
A CSS property value parser for use with PostCSS
5.9m+16%-4 months ago
8.0.0
ESM onlyBundledCSS-in-JS and styling, Parsers and serialisers
@iarna/toml
Better TOML parsing and stringifying all in that familiar JSON interface.
5.9m+122%-6 years ago
2.2.5
CommonJSNoneParsers and serialisers
lop
Create parsers using parser combinators with helpful error messages
5.9m+602%-2 years ago
0.4.2
-NoneParsers and serialisers
remark-math
remark plugin to parse and stringify math
5.9m+429%-3 years ago
6.0.0
ESM onlyBundledMarkdown, Parsers and serialisers
nearley
Simple, fast, powerful parser toolkit for JavaScript.
5.9m+94%-5 years ago
2.20.1
CommonJSNoneParsers and serialisers
partial-json
Parse partial JSON generated by LLM
5.7m+1238%-2 years ago
0.1.7
ESM + CommonJSBundledAI and machine learning, Parsers and serialisers
lightningcss-linux-arm64-musl
A CSS parser, transformer, and minifier written in Rust
5.7m+336%-2 months ago
1.33.0
CommonJSNoneParsers and serialisers, Build tools
mdast-util-frontmatter
mdast extension to parse and serialize frontmatter (YAML, TOML, etc)
5.4m+160%-3 years ago
2.0.1
ESM onlyBundledParsers and serialisers
micromark-extension-frontmatter
micromark extension to support frontmatter (YAML, TOML, etc)
5.4m+141%-3 years ago
2.0.0
ESM onlyBundledParsers and serialisers, Markdown
micromark-extension-directive
micromark extension to support generic directives (`:cite[smith04]`)
5.3m+259%-1 year ago
4.0.0
ESM onlyBundledMarkdown, Parsers and serialisers
rehype-katex
rehype plugin to transform inline and block math with KaTeX
5.2m+526%-2 years ago
7.0.1
ESM onlyBundledMarkdown, Parsers and serialisers
lightningcss-darwin-arm64
A CSS parser, transformer, and minifier written in Rust
5.2m+347%-2 months ago
1.33.0
CommonJSNoneParsers and serialisers, Build tools
jsonc-eslint-parser
JSON, JSONC and JSON5 parser for use with ESLint plugins
5m+71%-1 month ago
3.3.0
ESM onlyBundledParsers and serialisers, Linting and formatting
@peculiar/json-schema
This package uses ES2015 decorators to simplify JSON schema creation and use
4.9m+105%-6 years ago
1.1.12
ESM + CommonJSBundledParsers and serialisers, Schema validation
css
CSS parser / stringifier
4.9m-10%-6 years ago
3.0.0
CommonJSNoneParsers and serialisers
lightningcss-win32-x64-msvc
A CSS parser, transformer, and minifier written in Rust
4.7m+278%-2 months ago
1.33.0
CommonJSNoneParsers and serialisers, Build tools
bfj
Big-friendly JSON. Asynchronous streaming functions for large JSON data sets.
4.6m-7%-7 months ago
9.1.3
CommonJSNonePromises and async control flow, Parsers and serialisers
json-to-pretty-yaml
A node module to convert JSON to YAML
4.6m+54%-8 years ago
1.2.2
CommonJSNoneParsers and serialisers
grammex
A tiny, PEG-like system for building language grammars with regexes.
4.6m+8877%-2 months ago
3.1.13
ESM onlyBundledParsers and serialisers
safe-json-stringify
Prevent defined property getters from throwing errors
4.5m+86%-8 years ago
1.2.0
CommonJSNoneParsers and serialisers
streamdown
A drop-in replacement for react-markdown, designed for AI-powered streaming.
4.4m+2907%-1 month ago
2.6.0
ESM onlyBundledMarkdown, Parsers and serialisers
remark
markdown processor powered by plugins part of the unified collective
4.2m+91%-3 years ago
15.0.1
ESM onlyBundledMarkdown, Parsers and serialisers
remark-frontmatter
remark plugin to support frontmatter (yaml, toml, and more)
4.2m+122%-3 years ago
5.0.0
ESM onlyBundledMarkdown, Parsers and serialisers
@microsoft/tsdoc-config
A loader for the tsdoc.json file
4.1m+55%-9 days ago
0.18.2
CommonJSBundledDocumentation tooling, TypeScript tooling
@webassemblyjs/wast-parser
WebAssembly text format parser
4m-18%-1 year ago
1.14.1
ESM + CommonJSNoneParsers and serialisers
sdp-transform
A simple parser/writer for the Session Description Protocol
3.9m+809%-10 months ago
3.0.0
CommonJSNoneParsers and serialisers, WebSockets and realtime
mdast-util-directive
mdast extension to parse and serialize generic directives (`:cite[smith04]`)
3.9m+287%-1 year ago
3.1.0
ESM onlyBundledMarkdown, Parsers and serialisers
parse5-html-rewriting-stream
Streaming HTML rewriter.
3.9m+33%-5 months ago
8.0.1
ESM onlyBundledParsers and serialisers
tree-sitter-bash
Bash grammar for tree-sitter
3.8m+8002%-9 months ago
0.25.1
CommonJSBundledParsers and serialisers
parse5-sax-parser
Streaming SAX-style HTML parser.
3.8m+31%-1 year ago
8.0.0
ESM onlyBundledParsers and serialisers
markdown-to-jsx
A very fast and versatile markdown toolchain. AST, React, React Native, SolidJS, Vue, Markdown, and HTML output available with full customization.
3.8m+16%-9 days ago
9.10.3
ESM + CommonJSBundledMarkdown, React
parse-statements
Fast and easy parser of statements in source code in any language ✂️
3.8m+202%-1 month ago
1.0.14
ESM + CommonJSBundledParsers and serialisers
remark-breaks
remark plugin to add break support, without needing spaces
3.8m+470%-3 years ago
4.0.0
ESM onlyBundledMarkdown, Parsers and serialisers
@npmcli/query
npm query parser and tools
3.8m+76%-4 months ago
6.0.0
CommonJSNoneParsers and serialisers, CSS-in-JS and styling
parse-imports-exports
Fast and easy parser for declarations of import and export in ECMAScript/TypeScript
3.8m+197%-1 year ago
0.2.4
ESM + CommonJSBundledTypeScript tooling, Parsers and serialisers
detective-postcss
Detective to find dependents of CSS (PostCSS dialect)
3.7m+39%-2 months ago
9.0.1
ESM onlyBundledCSS-in-JS and styling, Node.js utilities
mdast-util-newline-to-break
mdast utility to support hard breaks without needing spaces or escapes
3.7m+574%-3 years ago
2.0.0
ESM onlyBundledMarkdown, Parsers and serialisers
lightningcss-darwin-x64
A CSS parser, transformer, and minifier written in Rust
3.6m+275%-2 months ago
1.33.0
CommonJSNoneParsers and serialisers, Build tools
po-parser
Parses and serializes `.po` file content.
3.6m--1 month ago
2.2.0
ESM onlyBundledParsers and serialisers
@chevrotain/regexp-to-ast
Parses a Regular Expression and outputs an AST
3.5m+175%-1 month ago
13.2.0
ESM onlyBundledParsers and serialisers, TypeScript tooling

12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package, as measured by Bundlephobia. "-" means the value has not been fetched.