🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

json-bigint-string

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-bigint-string

Replacement for JSON.parse which converts long integers to strings

latest
npmnpm
Version
1.0.0
Version published
Weekly downloads
8.3K
-17.98%
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

node

FAQs

Package last updated on 10 Jun 2015

Did you know?

Socket

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