fast-json-stringify
npmv7.0.1TypeScriptStringify your JSON at max speed
Safe to adopt
Yes — fast-json-stringify scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 62 days ago. 8 releases in the last 2 years.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- AMaintenance: grade A, Excellent.
Last published 62 days ago. 8 releases in the last 2 years.
- BWeight: grade B, Good.
Pulls in 7 transitive packages, about 860 KB installed (at least — some of the tree is still being crawled).
- ASupply chain: grade A, Excellent.
No install scripts, 11 maintainers, and a contained dependency surface.
- ALicense: grade A, Excellent.
MIT — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding fast-json-stringify to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Part of this dependency tree has not been crawled yet, so these figures are a lower bound rather than a final total.
Licenses in the dependency tree
Every license you inherit by installing fast-json-stringify, not just its own. Check this before a legal review, not after.
Compatibility
- Node.js
- No constraint declared
- Module format
- CommonJS only
- TypeScript
- Types included
- Install scripts
- None
Quick start
A usage example from the fast-json-stringify README.
FJS creation x 9,696 ops/sec ±0.77% (94 runs sampled)
CJS creation x 197,267 ops/sec ±0.22% (95 runs sampled)
AJV Serialize creation x 48,302,927 ops/sec ±2.09% (90 runs sampled)
json-accelerator creation x 668,430 ops/sec ±0.43% (95 runs sampled)
JSON.stringify array x 7,924 ops/sec ±0.11% (98 runs sampled)
fast-json-stringify array default x 7,183 ops/sec ±0.09% (97 runs sampled)
json-accelerator array x 5,762 ops/sec ±0.27% (99 runs sampled)
fast-json-stringify array json-stringify x 7,171 ops/sec ±0.17% (97 runs sampled)
compile-json-stringify array x 6,889 ops/sec ±0.41% (96 runs sampled)
AJV Serialize array x 6,945 ops/sec ±0.17% (98 runs sampled)
JSON.stringify large array x 331 ops/sec ±0.17% (93 runs sampled)
fast-json-stringify large array default x 208 ops/sec ±0.21% (91 runs sampled)
fast-json-stringify large array json-stringify x 330 ops/sec ±0.17% (93 runs sampled)
compile-json-stringify large array x 318 ops/sec ±0.11% (90 runs sampled)fast-json-stringify vs the alternatives
Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| fast-json-stringifythis page | 0 | 3 | MIT | 2 months ago |
| fast-json-stable-stringify | 137.5M | 2 | MIT | 1 day ago |
| json-stable-stringify-without-jsonify | 72.1M | 1 | MIT | 1 day ago |
| json-stringify-safe | 36.4M | 1 | ISC | 1 day ago |
| fastify | 8.9M | 4 | MIT | 1 day ago |
| json-schema-ref-resolver | 0 | 1 | MIT | 1 day ago |
Dependencies
Declared by fast-json-stringify v7.0.1. Runtime dependencies are installed with the package; dev dependencies are not.
Runtime (6)
Dev (14)
Used by
Popular packages that depend on fast-json-stringify.
Fast and low overhead web framework, for Node.js
Stringify your JSON at max speed
Build and manage the fast-json-stringify instances for the fastify framework
Relationship graph
Dependencies (left) and dependents (right) of fast-json-stringify.
Frequently installed together
An AST-based pattern checker for JavaScript.
Really Fast Deep Clone
An HTTP/1.1 client, written from scratch for Node.js
Create HTTP error objects
Manipulate the HTTP Vary header
Fake HTTP injection library
The semantic version parser used by npm.
A small utility for creating warnings and emitting them.
Crazy fast http radix based router
Build and manage the fast-json-stringify instances for the fastify framework
Asynchronous bootstrapping of Node applications
LRU and FIFO caches for Client or Server
Release history
8 releases in the last two years, typically about 26 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 7.0.1latest | 2 months ago | 396 KB | MIT |
| 7.0.0 | 3 months ago | 392 KB | MIT |
| 6.4.0 | 4 months ago | 393 KB | MIT |
| 6.3.0 | 7 months ago | 384 KB | MIT |
| 6.2.0 | 7 months ago | 380 KB | MIT |
| 6.1.1 | 11 months ago | 371 KB | MIT |
| 6.1.0 | 11 months ago | 365 KB | MIT |
| 6.0.1 | 1 year ago | 365 KB | MIT |
| 6.0.0 | 2 years ago | 360 KB | MIT |
| 5.16.1 | 2 years ago | 360 KB | MIT |
| 5.16.0 | 2 years ago | 360 KB | MIT |
| 5.15.1 | 2 years ago | 357 KB | MIT |
| 5.15.0 | 2 years ago | 356 KB | MIT |
| 5.14.1 | 2 years ago | 356 KB | MIT |
| 5.14.0 | 2 years ago | 355 KB | MIT |
Overview
fast-json-stringify is an npm package that stringify your JSON at max speed. It has 3 known dependents in the graph. The latest version is 7.0.1, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need stringify your JSON at max speed and value a focused solution.
When not to use it
Consider an alternative if you need to minimize your dependency tree, or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- Large dependency tree (20 direct dependencies) increases install size and audit surface.
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Funding
Frequently asked questions
Should I use fast-json-stringify?
Yes — fast-json-stringify scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 62 days ago. 8 releases in the last 2 years.
How do I install fast-json-stringify?
Run `npm install fast-json-stringify` to add fast-json-stringify to your npm project.
How many dependencies does fast-json-stringify have?
fast-json-stringify declares 20 direct dependencies and pulls in 7 packages in total once its runtime tree is resolved totalling about 860 KB on disk.
What license is fast-json-stringify released under?
fast-json-stringify is distributed under the MIT license. Its dependency tree also includes: BSD-3-Clause, MIT.
How popular is fast-json-stringify?
npm does not publish download counts. Within PackageGraph's crawl, 3 known packages depend on fast-json-stringify.
Is fast-json-stringify still maintained?
The most recent release of fast-json-stringify (v7.0.1) was published 2 months ago.
Does fast-json-stringify run install scripts?
No. fast-json-stringify does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.