fastest-stable-stringify
Fastest stable deterministic JSON.stringify()
Last updated 7 years ago by streamich .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install fastest-stable-stringify 
SYNC missed versions from official npm registry.

fastest-stable-stringify

Deterministic JSON.stringify() - fastest stable JSON stringifier. This project combines fast-json-stable-stringify and fast-stable-stringify to create the fastest stable JSON stringifier.

Installation

With npm do:

npm install fastest-stable-stringify

Usage

var stringify = require('fastest-stable-stringify');
var str = stringify({foo: 'bar'});

Benchmark

To run benchmark

node benchmark

Results

fastest-stable-stringify x 11,629 ops/sec ±0.67% (92 runs sampled)
fast-stable-stringify x 11,352 ops/sec ±0.63% (91 runs sampled)
fast-json-stable-stringify x 10,085 ops/sec ±0.52% (91 runs sampled)
faster-stable-stringify x 8,645 ops/sec ±0.62% (87 runs sampled)
json-stable-stringify x 7,761 ops/sec ±0.61% (86 runs sampled)
The fastest is fastest-stable-stringify

License

MIT

Current Tags

  • 2.0.2                                ...           latest (7 years ago)

4 Versions

  • 2.0.2                                ...           7 years ago
  • 2.0.1                                ...           7 years ago
  • 1.0.1                                ...           7 years ago
  • 1.0.0                                ...           7 years ago
Maintainers (1)
Downloads
Total 1
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (12)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE