Socket
Socket
Sign inDemoInstall

fastest-stable-stringify

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    fastest-stable-stringify

Fastest stable deterministic JSON.stringify()


Version published
Weekly downloads
1.6M
increased by5.75%
Maintainers
1
Install size
16.3 kB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 10 May 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc