Nocturnal Practitioners of Magic
Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

json-strify

0.1.8 • 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(objectany)string

License

MIT

Install

npm i json-strify

DownloadsWeekly Downloads

28

Version

0.1.8

License

MIT

Unpacked Size

7.72 kB

Total Files

4

Last publish

Collaborators

  • avatar