json-bigint-string

1.0.0 • Public • Published

json-bigint-string

Drop in replacement for JSON.parse which converts integers long enough to lose precision in Javascript into strings.

Based on json-bigint by sidorares.

Usage

var JSONBigInt = require('json-bigint-string');
 
// console.log(JSON.parse(someJson));
console.log(JSONBigInt.parse(someJson));

License

Released into the public domain with Unlicense.

Contains a modified copy of json_parse.js from JSON-js, also in the public domain.

Readme

Keywords

Package Sidebar

Install

npm i json-bigint-string

Weekly Downloads

7,406

Version

1.0.0

License

public

Last publish

Collaborators

  • pmcatominey