1.0.1 • Published 5 months ago

node-js-fast-json v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

Fast JSON Parser

High-performance asynchronous JSON parser for Node.js

Installation

npm install node-js-fast-json

Usage

const fastJsonParser = require('node-js-fast-json');

// Using Promise
fastJsonParser.parseAsync('{"key": "value"}')
  .then(result => console.log(result))
  .catch(err => console.error(err));

// Using callback
fastJsonParser.parseAsync('{"key": "value"}', (err, result) => {
  if (err) {
    console.error(err);
  } else {
    console.log(result);
  }
});
1.0.1

5 months ago

1.0.0

5 months ago