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 |
|---|---|---|---|---|---|---|---|---|
| postcss Tool for transforming styles with JS plugins | 229.7m | +138% | - | 21 days ago 8.5.28 | ESM + CommonJS | Bundled | CSS-in-JS and styling, Parsers and serialisers | |
| js-yaml YAML 1.2 parser and serializer | 222m | +100% | - | 12 days ago 5.4.2 | ESM + CommonJS | Bundled | Parsers and serialisers | |
| js-tokens Tiny JavaScript tokenizer. | 192.1m | +159% | - | 9 months ago 10.0.0 | ESM only | Bundled | Parsers and serialisers | |
| strip-json-comments Strip comments from JSON. Lets you use comments in your JSON files! | 158.2m | +100% | - | 1 year ago 5.0.3 | ESM only | Bundled | Parsers and serialisers | |
| yaml JavaScript parser and stringifier for YAML | 149.5m | +115% | - | 13 days ago 2.9.1 | CommonJS | Bundled | Parsers and serialisers | |
| jsesc Given some data, jsesc returns the shortest possible stringified & ASCII-safe representation of that data. | 140.5m | +80% | - | 1 year ago 3.1.0 | CommonJS | None | Parsers and serialisers | |
| espree An Esprima-compatible JavaScript parser built on Acorn | 127.8m | +107% | - | 6 months ago 11.2.0 | ESM + CommonJS | Bundled | Parsers and serialisers | |
| flatted A super light and fast circular JSON parser. | 118m | +131% | - | 1 month ago 3.4.4 | ESM only | Bundled | Parsers and serialisers | |
| parse5 HTML parser and serializer. | 115.5m | +117% | - | 5 months ago 8.0.1 | ESM only | Bundled | Parsers and serialisers | |
| lightningcss A CSS parser, transformer, and minifier written in Rust | 113.9m | +1051% | - | 2 months ago 1.33.0 | ESM + CommonJS | Bundled | Parsers and serialisers, Build tools | |
| body-parser Node.js body parsing middleware | 105.2m | +124% | - | 3 months ago 2.3.0 | CommonJS | None | Parsers and serialisers | |
| @eslint-community/regexpp Regular expression parser for ECMAScript. | 103.4m | +153% | - | 11 months ago 4.12.2 | ESM + CommonJS | Bundled | Parsers and serialisers | |
| lightningcss-linux-x64-gnu A CSS parser, transformer, and minifier written in Rust | 102.3m | +1048% | - | 2 months ago 1.33.0 | CommonJS | None | Parsers and serialisers, Build tools | |
| range-parser Range header field string parser | 97.5m | +123% | - | 2 months ago 1.3.0 | - | None | Parsers and serialisers, Node.js utilities | |
| mdn-data Open Web data by the Mozilla Developer Network | 90.6m | +127% | - | 2 days ago 2.37.0 | CommonJS | None | CSS-in-JS and styling, Parsers and serialisers | |
| css-tree A tool set for CSS: fast detailed parser (CSS → AST), walker (AST traversal), generator (AST → CSS) and lexer (validation and matching) based on specs and browser implementations | 88.1m | +116% | - | 6 months ago 3.2.1 | ESM + CommonJS | None | Parsers and serialisers, CSS-in-JS and styling | |
| esprima ECMAScript parsing infrastructure for multipurpose analysis | 85m | +40% | - | 8 years ago 4.0.1 | CommonJS | None | Parsers and serialisers | |
| postcss-value-parser Transforms css values and at-rule params into the tree | 84.1m | +72% | - | 4 years ago 4.2.0 | CommonJS | Bundled | Parsers and serialisers, CSS-in-JS and styling | |
| lightningcss-linux-x64-musl A CSS parser, transformer, and minifier written in Rust | 81m | +217% | - | 2 months ago 1.33.0 | CommonJS | None | Parsers and serialisers, Build tools | |
| saxes An evented streaming XML parser in JavaScript | 71.7m | +170% | - | 4 years ago 6.0.0 | CommonJS | Bundled | Parsers and serialisers | |
| htmlparser2 Fast & forgiving HTML/XML parser | 71.7m | +75% | - | 6 months ago 12.0.0 | ESM only | Bundled | Parsers and serialisers, DOM and browser utilities | |
| sax An evented streaming XML parser in JavaScript | 67.9m | +83% | - | 2 months ago 1.6.1 | CommonJS | None | Parsers and serialisers | |
| w3c-xmlserializer A per-spec XML serializer implementation | 64m | +139% | - | 4 days ago 6.0.0 | CommonJS | None | Parsers and serialisers | |
| terser JavaScript parser, mangler/compressor and beautifier toolkit for ES6+ | 61.7m | +68% | - | 29 days ago 5.51.2 | ESM + CommonJS | Bundled | Parsers and serialisers, Compression and archives | |
| marked A markdown parser built for speed | 55.3m | +276% | - | 3 days ago 18.0.14 | ESM only | Bundled | Parsers and serialisers, Markdown | |
| micromark-util-symbol micromark utility with symbols | 50.8m | +213% | - | 1 year ago 2.0.1 | ESM only | None | Markdown, Parsers and serialisers | |
| ast-types Esprima-compatible implementation of the Mozilla JS Parser API | 48.3m | +78% | - | 25 days ago 0.16.3 | CommonJS | Bundled | Parsers and serialisers | |
| micromark-util-character micromark utility to handle character codes | 48.2m | +241% | - | 1 year ago 2.1.1 | ESM only | Bundled | Markdown, Parsers and serialisers | |
| unist-util-visit unist utility to visit nodes | 47.9m | +174% | - | 8 months ago 5.1.0 | ESM only | Bundled | Parsers and serialisers, Markdown | |
| confbox Compact YAML, TOML, JSONC, JSON5 and INI parser and serializer | 45.7m | +205% | - | 22 days ago 0.3.1 | ESM only | Bundled | Parsers and serialisers | |
| postgres-bytea Postgres bytea parser | 44.6m | +187% | - | 6 years ago 3.0.0 | CommonJS | None | Parsers and serialisers, Database clients and drivers | |
| mdast-util-to-string mdast utility to get the plain text content of a node | 42m | +168% | - | 3 years ago 4.0.0 | ESM only | Bundled | Parsers and serialisers, Markdown | |
| micromark small commonmark compliant markdown parser with positional info and concrete tokens | 41.5m | +220% | - | 1 year ago 4.0.2 | ESM only | Bundled | Markdown, Parsers and serialisers | |
| micromark-util-encode micromark utility to encode dangerous html characters | 41.4m | +250% | - | 1 year ago 2.0.1 | ESM only | Bundled | Markdown, Parsers and serialisers | |
| @adobe/css-tools A modern CSS parser and stringifier with TypeScript support | 41.2m | +145% | - | 4 months ago 4.5.0 | ESM + CommonJS | Bundled | TypeScript tooling, Parsers and serialisers | |
| mdast-util-from-markdown mdast utility to parse markdown | 40.6m | +237% | - | 7 months ago 2.0.3 | ESM only | Bundled | Parsers and serialisers, Markdown | |
| serialize-javascript Serialize JavaScript to a superset of JSON that includes regular expressions and functions. | 40.3m | +0% | - | 1 day ago 7.1.2 | CommonJS | None | Parsers and serialisers | |
| micromark-util-chunked micromark utility to splice and push with giant arrays | 39.4m | +249% | - | 1 year ago 2.0.1 | ESM only | Bundled | Markdown, Parsers and serialisers | |
| micromark-util-html-tag-name micromark utility with list of html tag names | 39.2m | +252% | - | 1 year ago 2.0.1 | ESM only | Bundled | Markdown, Parsers and serialisers | |
| micromark-util-classify-character micromark utility to classify whether a character is whitespace or punctuation | 39m | +271% | - | 1 year ago 2.0.1 | ESM only | Bundled | Markdown, Parsers and serialisers | |
| micromark-util-resolve-all micromark utility to resolve subtokens | 38.9m | +272% | - | 1 year ago 2.0.1 | ESM only | Bundled | Markdown, Parsers and serialisers | |
| micromark-util-decode-numeric-character-reference micromark utility to decode numeric character references | 38.9m | +271% | - | 1 year ago 2.0.2 | ESM only | Bundled | Markdown, Parsers and serialisers | |
| micromark-util-normalize-identifier micromark utility normalize identifiers (as found in references, definitions) | 38.8m | +254% | - | 1 year ago 2.0.1 | ESM only | Bundled | Markdown, Parsers and serialisers | |
| micromark-util-subtokenize micromark utility to tokenize subtokens | 38.8m | +272% | - | 1 year ago 2.1.0 | ESM only | Bundled | Markdown, Parsers and serialisers | |
| micromark-util-combine-extensions micromark utility to combine syntax or html extensions | 38.8m | +279% | - | 1 year ago 2.0.1 | ESM only | Bundled | Markdown, Parsers and serialisers | |
| micromark-factory-label micromark factory to parse labels (found in media, definitions) | 38.8m | +291% | - | 1 year ago 2.0.1 | ESM only | Bundled | Markdown, Parsers and serialisers | |
| micromark-factory-destination micromark factory to parse destinations (found in resources, definitions) | 38.8m | +250% | - | 1 year ago 2.0.1 | ESM only | Bundled | Markdown, Parsers and serialisers | |
| cssom CSS Object Model implementation and CSS parser | 38.5m | +21% | - | 5 years ago 0.5.0 | CommonJS | None | Parsers and serialisers, DOM and browser utilities | |
| mdast-util-to-markdown mdast utility to serialize markdown | 37.7m | +251% | - | 1 year ago 2.1.2 | ESM only | Bundled | Parsers and serialisers, Markdown | |
| spdx-license-ids A list of SPDX license identifiers | 37.6m | +17% | - | 8 days ago 3.0.24 | - | None | Parsers and serialisers |
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.
- postcssTool for transforming styles with JS plugins
- js-yamlYAML 1.2 parser and serializer
- js-tokensTiny JavaScript tokenizer.
- strip-json-commentsStrip comments from JSON. Lets you use comments in your JSON files!
- yamlJavaScript parser and stringifier for YAML
- jsescGiven some data, jsesc returns the shortest possible stringified & ASCII-safe representation of that data.
- espreeAn Esprima-compatible JavaScript parser built on Acorn
- flattedA super light and fast circular JSON parser.
- parse5HTML parser and serializer.
- lightningcssA CSS parser, transformer, and minifier written in Rust
- body-parserNode.js body parsing middleware
- @eslint-community/regexppRegular expression parser for ECMAScript.
- lightningcss-linux-x64-gnuA CSS parser, transformer, and minifier written in Rust
- range-parserRange header field string parser
- mdn-dataOpen Web data by the Mozilla Developer Network
- css-treeA tool set for CSS: fast detailed parser (CSS → AST), walker (AST traversal), generator (AST → CSS) and lexer (validation and matching) based on specs and browser implementations
- esprimaECMAScript parsing infrastructure for multipurpose analysis
- postcss-value-parserTransforms css values and at-rule params into the tree
- lightningcss-linux-x64-muslA CSS parser, transformer, and minifier written in Rust
- saxesAn evented streaming XML parser in JavaScript
- htmlparser2Fast & forgiving HTML/XML parser
- saxAn evented streaming XML parser in JavaScript
- w3c-xmlserializerA per-spec XML serializer implementation
- terserJavaScript parser, mangler/compressor and beautifier toolkit for ES6+
- markedA markdown parser built for speed
- micromark-util-symbolmicromark utility with symbols
- ast-typesEsprima-compatible implementation of the Mozilla JS Parser API
- micromark-util-charactermicromark utility to handle character codes
- unist-util-visitunist utility to visit nodes
- confboxCompact YAML, TOML, JSONC, JSON5 and INI parser and serializer
- postgres-byteaPostgres bytea parser
- mdast-util-to-stringmdast utility to get the plain text content of a node
- micromarksmall commonmark compliant markdown parser with positional info and concrete tokens
- micromark-util-encodemicromark utility to encode dangerous html characters
- @adobe/css-toolsA modern CSS parser and stringifier with TypeScript support
- mdast-util-from-markdownmdast utility to parse markdown
- serialize-javascriptSerialize JavaScript to a superset of JSON that includes regular expressions and functions.
- micromark-util-chunkedmicromark utility to splice and push with giant arrays
- micromark-util-html-tag-namemicromark utility with list of html tag names
- micromark-util-classify-charactermicromark utility to classify whether a character is whitespace or punctuation
- micromark-util-resolve-allmicromark utility to resolve subtokens
- micromark-util-decode-numeric-character-referencemicromark utility to decode numeric character references
- micromark-util-normalize-identifiermicromark utility normalize identifiers (as found in references, definitions)
- micromark-util-subtokenizemicromark utility to tokenize subtokens
- micromark-util-combine-extensionsmicromark utility to combine syntax or html extensions
- micromark-factory-labelmicromark factory to parse labels (found in media, definitions)
- micromark-factory-destinationmicromark factory to parse destinations (found in resources, definitions)
- cssomCSS Object Model implementation and CSS parser
- mdast-util-to-markdownmdast utility to serialize markdown
- spdx-license-idsA list of SPDX license identifiers
- 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