json-strify

0.1.9 • Public • Published

json-strify

Faster implementation of JSON.stringify

Performance: This library ~50% faster than JSON.stringify on larger objects/arrays

Note: This library doesn't handle Ciruclar references, instead of just replaces Circular reference to [Circular] string, but doesn't throw error

Features

  • Performant
  • Easy
  • Auto-schema generating

Installation

We recommend install via npm because of it's cache and flat node modules tree

npm i json-strify

then you able to import to Node.js/Browser easily

// Node.js
const JSONStringify = require('json-strify');

// ES6
import JSONStringify from 'json-strify';

Usage

JSONStringify(object: any): string

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i json-strify

Weekly Downloads

3,208

Version

0.1.9

License

MIT

Unpacked Size

7.69 kB

Total Files

4

Last publish

Collaborators

  • dalisoft