parse-huge-json
v1.0.2
Published
A package for parsing JSON data that is larger then the 512MB string limit of javascript.
Readme
The parseHugeJson function can parse JSON that is larger then the 512MB limit of JSON strings. Just load your huge JSON into a Buffer from a file or the web, then call the parseHugeJson and it will return a JSON object.
Install:
npm install parse-large-json --saveUsage:
const { parseHugeJson } = require('parse-large-json');
const fs = require('fs');
const veryLargeFile = fs.readFileSync("VeryLarge.json");
const jsonObject = parseHugeJson( veryLargeFile );