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
| Package | Weekly downloads | 12-month change | 52 weeks | Gzip | Last release | Module | Types | Categories |
|---|---|---|---|---|---|---|---|---|
| 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 + CommonJS | Bundled | Queues 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 only | Bundled | Parsers and serialisers | |
| turndown A library that converts HTML to Markdown | 6.8m | +290% | - | 5 months ago 7.2.4 | ESM + CommonJS | None | Markdown, Parsers and serialisers | |
| postal-mime Email parser for Node.js and browser environments | 6.8m | +13116% | - | 1 month ago 3.0.0 | ESM + CommonJS | Bundled | Email, 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 only | Bundled | Markdown, Parsers and serialisers | |
| @zkochan/js-yaml YAML 1.2 parser and serializer | 6.7m | +58% | - | 7 months ago 0.0.11 | ESM + CommonJS | None | Parsers and serialisers | |
| web-tree-sitter Tree-sitter bindings for the web | 6.5m | +751% | - | 25 days ago 0.27.0 | ESM + CommonJS | Bundled | Parsers 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 only | Bundled | Parsers and serialisers, Linting and formatting | |
| @hapi/formula Math and string formula parser. | 6.2m | +303% | - | 2 months ago 4.0.0 | ESM only | Bundled | Numbers 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 | CommonJS | None | Parsers and serialisers | |
| postcss-values-parser A CSS property value parser for use with PostCSS | 5.9m | +16% | - | 4 months ago 8.0.0 | ESM only | Bundled | CSS-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 | CommonJS | None | Parsers and serialisers | |
| lop Create parsers using parser combinators with helpful error messages | 5.9m | +602% | - | 2 years ago 0.4.2 | - | None | Parsers and serialisers | |
| remark-math remark plugin to parse and stringify math | 5.9m | +429% | - | 3 years ago 6.0.0 | ESM only | Bundled | Markdown, Parsers and serialisers | |
| nearley Simple, fast, powerful parser toolkit for JavaScript. | 5.9m | +94% | - | 5 years ago 2.20.1 | CommonJS | None | Parsers and serialisers | |
| partial-json Parse partial JSON generated by LLM | 5.7m | +1238% | - | 2 years ago 0.1.7 | ESM + CommonJS | Bundled | AI 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 | CommonJS | None | Parsers 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 only | Bundled | Parsers and serialisers | |
| micromark-extension-frontmatter micromark extension to support frontmatter (YAML, TOML, etc) | 5.4m | +141% | - | 3 years ago 2.0.0 | ESM only | Bundled | Parsers and serialisers, Markdown | |
| micromark-extension-directive micromark extension to support generic directives (`:cite[smith04]`) | 5.3m | +259% | - | 1 year ago 4.0.0 | ESM only | Bundled | Markdown, 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 only | Bundled | Markdown, Parsers and serialisers | |
| lightningcss-darwin-arm64 A CSS parser, transformer, and minifier written in Rust | 5.2m | +347% | - | 2 months ago 1.33.0 | CommonJS | None | Parsers 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 only | Bundled | Parsers 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 + CommonJS | Bundled | Parsers and serialisers, Schema validation | |
| css CSS parser / stringifier | 4.9m | -10% | - | 6 years ago 3.0.0 | CommonJS | None | Parsers and serialisers | |
| lightningcss-win32-x64-msvc A CSS parser, transformer, and minifier written in Rust | 4.7m | +278% | - | 2 months ago 1.33.0 | CommonJS | None | Parsers 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 | CommonJS | None | Promises 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 | CommonJS | None | Parsers and serialisers | |
| grammex A tiny, PEG-like system for building language grammars with regexes. | 4.6m | +8877% | - | 2 months ago 3.1.13 | ESM only | Bundled | Parsers and serialisers | |
| safe-json-stringify Prevent defined property getters from throwing errors | 4.5m | +86% | - | 8 years ago 1.2.0 | CommonJS | None | Parsers 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 only | Bundled | Markdown, Parsers and serialisers | |
| remark markdown processor powered by plugins part of the unified collective | 4.2m | +91% | - | 3 years ago 15.0.1 | ESM only | Bundled | Markdown, Parsers and serialisers | |
| remark-frontmatter remark plugin to support frontmatter (yaml, toml, and more) | 4.2m | +122% | - | 3 years ago 5.0.0 | ESM only | Bundled | Markdown, Parsers and serialisers | |
| @microsoft/tsdoc-config A loader for the tsdoc.json file | 4.1m | +55% | - | 9 days ago 0.18.2 | CommonJS | Bundled | Documentation tooling, TypeScript tooling | |
| @webassemblyjs/wast-parser WebAssembly text format parser | 4m | -18% | - | 1 year ago 1.14.1 | ESM + CommonJS | None | Parsers and serialisers | |
| sdp-transform A simple parser/writer for the Session Description Protocol | 3.9m | +809% | - | 10 months ago 3.0.0 | CommonJS | None | Parsers 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 only | Bundled | Markdown, Parsers and serialisers | |
| parse5-html-rewriting-stream Streaming HTML rewriter. | 3.9m | +33% | - | 5 months ago 8.0.1 | ESM only | Bundled | Parsers and serialisers | |
| tree-sitter-bash Bash grammar for tree-sitter | 3.8m | +8002% | - | 9 months ago 0.25.1 | CommonJS | Bundled | Parsers and serialisers | |
| parse5-sax-parser Streaming SAX-style HTML parser. | 3.8m | +31% | - | 1 year ago 8.0.0 | ESM only | Bundled | Parsers 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 + CommonJS | Bundled | Markdown, 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 + CommonJS | Bundled | Parsers and serialisers | |
| remark-breaks remark plugin to add break support, without needing spaces | 3.8m | +470% | - | 3 years ago 4.0.0 | ESM only | Bundled | Markdown, Parsers and serialisers | |
| @npmcli/query npm query parser and tools | 3.8m | +76% | - | 4 months ago 6.0.0 | CommonJS | None | Parsers 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 + CommonJS | Bundled | TypeScript tooling, Parsers and serialisers | |
| detective-postcss Detective to find dependents of CSS (PostCSS dialect) | 3.7m | +39% | - | 2 months ago 9.0.1 | ESM only | Bundled | CSS-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 only | Bundled | Markdown, Parsers and serialisers | |
| lightningcss-darwin-x64 A CSS parser, transformer, and minifier written in Rust | 3.6m | +275% | - | 2 months ago 1.33.0 | CommonJS | None | Parsers and serialisers, Build tools | |
| po-parser Parses and serializes `.po` file content. | 3.6m | - | - | 1 month ago 2.2.0 | ESM only | Bundled | Parsers and serialisers | |
| @chevrotain/regexp-to-ast Parses a Regular Expression and outputs an AST | 3.5m | +175% | - | 1 month ago 13.2.0 | ESM only | Bundled | Parsers 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.
- cronerTrigger functions and/or evaluate cron expressions in JavaScript. No dependencies. Most features. All environments.
- stream-jsonA 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.
- turndownA library that converts HTML to Markdown
- postal-mimeEmail parser for Node.js and browser environments
- mdast-util-definitionsmdast utility to find definition nodes in a tree
- @zkochan/js-yamlYAML 1.2 parser and serializer
- web-tree-sitterTree-sitter bindings for the web
- json-stringify-pretty-compactThe best of both `JSON.stringify(obj)` and `JSON.stringify(obj, null, indent)`.
- @hapi/formulaMath and string formula parser.
- protocol-buffers-schemaNo nonsense protocol buffers schema parser written in Javascript
- postcss-values-parserA CSS property value parser for use with PostCSS
- @iarna/tomlBetter TOML parsing and stringifying all in that familiar JSON interface.
- lopCreate parsers using parser combinators with helpful error messages
- remark-mathremark plugin to parse and stringify math
- nearleySimple, fast, powerful parser toolkit for JavaScript.
- partial-jsonParse partial JSON generated by LLM
- lightningcss-linux-arm64-muslA CSS parser, transformer, and minifier written in Rust
- mdast-util-frontmattermdast extension to parse and serialize frontmatter (YAML, TOML, etc)
- micromark-extension-frontmattermicromark extension to support frontmatter (YAML, TOML, etc)
- micromark-extension-directivemicromark extension to support generic directives (`:cite[smith04]`)
- rehype-katexrehype plugin to transform inline and block math with KaTeX
- lightningcss-darwin-arm64A CSS parser, transformer, and minifier written in Rust
- jsonc-eslint-parserJSON, JSONC and JSON5 parser for use with ESLint plugins
- @peculiar/json-schemaThis package uses ES2015 decorators to simplify JSON schema creation and use
- cssCSS parser / stringifier
- lightningcss-win32-x64-msvcA CSS parser, transformer, and minifier written in Rust
- bfjBig-friendly JSON. Asynchronous streaming functions for large JSON data sets.
- json-to-pretty-yamlA node module to convert JSON to YAML
- grammexA tiny, PEG-like system for building language grammars with regexes.
- safe-json-stringifyPrevent defined property getters from throwing errors
- streamdownA drop-in replacement for react-markdown, designed for AI-powered streaming.
- remarkmarkdown processor powered by plugins part of the unified collective
- remark-frontmatterremark plugin to support frontmatter (yaml, toml, and more)
- @microsoft/tsdoc-configA loader for the tsdoc.json file
- @webassemblyjs/wast-parserWebAssembly text format parser
- sdp-transformA simple parser/writer for the Session Description Protocol
- mdast-util-directivemdast extension to parse and serialize generic directives (`:cite[smith04]`)
- parse5-html-rewriting-streamStreaming HTML rewriter.
- tree-sitter-bashBash grammar for tree-sitter
- parse5-sax-parserStreaming SAX-style HTML parser.
- markdown-to-jsxA very fast and versatile markdown toolchain. AST, React, React Native, SolidJS, Vue, Markdown, and HTML output available with full customization.
- parse-statementsFast and easy parser of statements in source code in any language ✂️
- remark-breaksremark plugin to add break support, without needing spaces
- @npmcli/querynpm query parser and tools
- parse-imports-exportsFast and easy parser for declarations of import and export in ECMAScript/TypeScript
- detective-postcssDetective to find dependents of CSS (PostCSS dialect)
- mdast-util-newline-to-breakmdast utility to support hard breaks without needing spaces or escapes
- lightningcss-darwin-x64A CSS parser, transformer, and minifier written in Rust
- po-parserParses and serializes `.po` file content.
- @chevrotain/regexp-to-astParses a Regular Expression and outputs an AST
- htmlparser2 vs cssom
- css-tree vs lightningcss
- esprima vs meriyah
- markdown-it vs markdown-exit
- turndown vs showdown
- @mdxeditor/editor vs @uiw/react-md-editor
- markdownlint-cli2 vs markdownlint-cli
- @mdx-js/react vs @mdxeditor/editor
- @uiw/react-md-editor vs markdown-exit
- @uiw/react-md-editor vs easymde
- @mdxeditor/editor vs easymde
- react-markdown vs @mdx-js/react
- @mdx-js/react vs markdown-to-jsx
- defuddle vs md-to-pdf
- pino vs roarr
- cheerio vs html-react-parser
- htmlparser2 vs html-react-parser
- react-markdown vs markdown-to-jsx
- @mdxeditor/editor vs react-native-enriched-markdown
- @microsoft/tsdoc vs jsdoc-to-markdown
- markdown-exit vs snarkdown
- doctoc vs jsdoc-to-markdown
- react-markdown vs @mdxeditor/editor
- snarkdown vs @tryfabric/martian
- turndown vs snarkdown
- conf vs convict
- markdown-it vs turndown
- xlsx vs fast-formula-parser
- json-schema-to-ts vs prisma-json-types-generator
- @microsoft/tsdoc vs vue-docgen-api