{"versions":{"0.0.15":{"name":"@streamparser/json-node","description":"Streaming JSON parser in Javascript for Node.js, Deno and the browser","version":"0.0.15","main":"./dist/mjs/index.js","module":"./dist/mjs/index.js","browser":"./dist/mjs/index.js","types":"./dist/mjs/index.d.ts","type":"module","exports":{"./*":{"import":"./dist/mjs/*","require":"./dist/cjs/*"},".":{"import":"./dist/mjs/index.js","require":"./dist/cjs/index.js"}},"author":{"name":"Juanjo Diaz","email":"juanjo.diazmo@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/juanjoDiaz/streamparser-json.git"},"homepage":"https://github.com/juanjoDiaz/jsonparse2#readme","bugs":{"url":"https://github.com/juanjoDiaz/streamparser-json/issues"},"scripts":{"lint":"eslint src test --ext .js,.ts,.json","format":"npm run lint -- --fix","build:cjs":"tsc --module commonjs --verbatimModuleSyntax false --outDir ./dist/cjs && node ../../build-cjs.js whatwg","build:mjs":"tsc --module esnext --verbatimModuleSyntax --outDir ./dist/mjs","build:deno":"node ../../build.deno.js . ./dist/deno","build":"npm run build:mjs && npm run build:cjs && npm run build:deno","prepublishOnly":"npm run build","pretest":"npm run build","test":"node test/CommonJS.cjs && jest test","test-with-coverage":"npm test -- --coverage"},"license":"MIT","tags":["json","stream"],"dependencies":{"@streamparser/json":"^0.0.15"},"devDependencies":{"@types/node":"^20.2.3"},"gitHead":"d61d9bcbeec37e88e293a66783f95f3812000fe2","_id":"@streamparser/json-node@0.0.15","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-el3Z9eIXRb2hw2TVFo88tuEgviocSmX4Bz0XCT5teK0lfCVz8odwHRe1oWAzSjpEDqU/2GzIdrCN4jXUuIRJgQ==","shasum":"e86cf1d4ac97b1ea647cd171e717479d24bdb39b","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@streamparser/json-node/-/json-node-0.0.15.tgz","fileCount":72,"unpackedSize":92319,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQylvSrnKgzHLqbRfrBT+2he5cwASFuljM1l9nSx9mJQIhAN3F6EYlafr7zYefY3JBfeasElSecGICF+nz/l6MeBOH"}],"size":15554},"_npmUser":{"name":"anonymous","email":"juanjo.diazmo@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"juanjo.diazmo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-node_0.0.15_1685116054622_0.922050218571588"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-05-26T15:47:34.827Z","publish_time":1685116054827,"_source_registry_name":"default","contributors":[]},"0.0.16":{"name":"@streamparser/json-node","description":"Streaming JSON parser in Javascript for Node.js, Deno and the browser","version":"0.0.16","main":"./dist/mjs/index.js","module":"./dist/mjs/index.js","browser":"./dist/mjs/index.js","types":"./dist/mjs/index.d.ts","type":"module","exports":{"./*":{"import":"./dist/mjs/*","require":"./dist/cjs/*"},".":{"import":"./dist/mjs/index.js","require":"./dist/cjs/index.js"}},"author":{"name":"Juanjo Diaz","email":"juanjo.diazmo@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/juanjoDiaz/streamparser-json.git"},"homepage":"https://github.com/juanjoDiaz/jsonparse2#readme","bugs":{"url":"https://github.com/juanjoDiaz/streamparser-json/issues"},"scripts":{"lint":"eslint src test --ext .js,.ts,.json","format":"npm run lint -- --fix","build:cjs":"tsc --module commonjs --verbatimModuleSyntax false --outDir ./dist/cjs && node ../../build-cjs.js whatwg","build:mjs":"tsc --module esnext --verbatimModuleSyntax --outDir ./dist/mjs","build:deno":"node ../../build.deno.js . ./dist/deno","build":"npm run build:mjs && npm run build:cjs && npm run build:deno","prepublishOnly":"npm run build","pretest":"npm run build","test":"node test/CommonJS.cjs && jest test","test-with-coverage":"npm test -- --coverage"},"license":"MIT","tags":["json","stream"],"dependencies":{"@streamparser/json":"^0.0.16"},"devDependencies":{"@types/node":"^20.2.3"},"gitHead":"99dbb9de7f9a9ddf0a66a332582a743add3ae8fb","_id":"@streamparser/json-node@0.0.16","_nodeVersion":"18.17.0","_npmVersion":"9.6.7","dist":{"integrity":"sha512-DD9ic35JWQ0Lj5OBBdoqUqjw90HJU+CPuq/1Cj67gbo7kSeLcQpLzZ0hDYioQGvD3dFyxJJwVKJmLkzicTV13w==","shasum":"01ede4d328712a068cfbce715ab0e70243b6ff2f","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@streamparser/json-node/-/json-node-0.0.16.tgz","fileCount":72,"unpackedSize":92366,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDrl0lpJr/A7OcxvkhvzjXbCflm/Lp73r4yI4tVkJv9zQIgGqXuBSXwoj4F5zaylcTEeLZYt9VE+jRQRqsa9X5Zhd4="}],"size":15543},"_npmUser":{"name":"anonymous","email":"juanjo.diazmo@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"juanjo.diazmo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-node_0.0.16_1690576682941_0.6467479818940602"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-07-28T20:38:03.084Z","publish_time":1690576683084,"_source_registry_name":"default","contributors":[]},"0.0.17":{"name":"@streamparser/json-node","description":"Streaming JSON parser in Javascript for Node.js, Deno and the browser","version":"0.0.17","main":"./dist/mjs/index.js","module":"./dist/mjs/index.js","browser":"./dist/mjs/index.js","types":"./dist/mjs/index.d.ts","type":"module","exports":{"./*":{"import":"./dist/mjs/*","require":"./dist/cjs/*"},".":{"import":"./dist/mjs/index.js","require":"./dist/cjs/index.js"}},"author":{"name":"Juanjo Diaz","email":"juanjo.diazmo@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/juanjoDiaz/streamparser-json.git"},"homepage":"https://github.com/juanjoDiaz/jsonparse2#readme","bugs":{"url":"https://github.com/juanjoDiaz/streamparser-json/issues"},"scripts":{"lint":"eslint src test --ext .js,.ts,.json","format":"npm run lint -- --fix","build:cjs":"tsc --module commonjs --verbatimModuleSyntax false --outDir ./dist/cjs && node ../../build-cjs.js whatwg","build:mjs":"tsc --module esnext --verbatimModuleSyntax --outDir ./dist/mjs","build:deno":"node ../../build.deno.js . ./dist/deno","build":"npm run build:mjs && npm run build:cjs && npm run build:deno","prepublishOnly":"npm run build","pretest":"npm run build","test":"node test/CommonJS.cjs && jest test","test-with-coverage":"npm test -- --coverage"},"license":"MIT","tags":["json","stream"],"dependencies":{"@streamparser/json":"^0.0.17"},"devDependencies":{"@types/node":"^20.2.3"},"gitHead":"bb4cb0041e112d6bdcf3037543a82fc9cd62d0b9","_id":"@streamparser/json-node@0.0.17","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-5y9ZFTp/LHljq7wpcliuNK+80qWxmtfeK7AEojy3snN8TMkChDz0a11NU+118ehY3Q9Is0eUxnQSAAaBQB6zWg==","shasum":"3f25ab314c30c1780a93b0adf4a8c3252b9fc56c","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@streamparser/json-node/-/json-node-0.0.17.tgz","fileCount":72,"unpackedSize":92365,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDZA77T8G/T653/fozz9IXcLDt/OMx0DCyKniruJX1Y2AiEA14MbDX8YfslQMfWur7VKNb4bn0voodesvfs2EyqizJQ="}],"size":15548},"_npmUser":{"name":"anonymous","email":"juanjo.diazmo@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"juanjo.diazmo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-node_0.0.17_1692901836216_0.5040662163283751"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-08-24T18:30:36.457Z","publish_time":1692901836457,"_source_registry_name":"default","contributors":[]},"0.0.18":{"name":"@streamparser/json-node","description":"Streaming JSON parser in Javascript for Node.js, Deno and the browser","version":"0.0.18","main":"./dist/mjs/index.js","module":"./dist/mjs/index.js","browser":"./dist/mjs/index.js","types":"./dist/mjs/index.d.ts","type":"module","exports":{"./*":{"import":"./dist/mjs/*","require":"./dist/cjs/*"},".":{"import":"./dist/mjs/index.js","require":"./dist/cjs/index.js"}},"author":{"name":"Juanjo Diaz","email":"juanjo.diazmo@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/juanjoDiaz/streamparser-json.git"},"homepage":"https://github.com/juanjoDiaz/jsonparse2#readme","bugs":{"url":"https://github.com/juanjoDiaz/streamparser-json/issues"},"scripts":{"lint":"eslint src test --ext .js,.ts,.json","format":"npm run lint -- --fix","build:cjs":"tsc --module commonjs --verbatimModuleSyntax false --outDir ./dist/cjs && node ../../build-cjs.js whatwg","build:mjs":"tsc --module esnext --verbatimModuleSyntax --outDir ./dist/mjs","build:deno":"node ../../build.deno.js . ./dist/deno","build":"npm run build:mjs && npm run build:cjs && npm run build:deno","prepublishOnly":"npm run build","pretest":"npm run build","test":"node test/CommonJS.cjs && jest test","test-with-coverage":"npm test -- --coverage"},"license":"MIT","tags":["json","stream"],"dependencies":{"@streamparser/json":"^0.0.18"},"devDependencies":{"@types/node":"^20.2.3"},"_id":"@streamparser/json-node@0.0.18","gitHead":"47305a13cc2fa79aba4159590db07477a1c6f6cc","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-/vHHXkHQKf+xr4h5NJRlhmg/4BJrytWrPN+X+h5PuXonKCZibRxJh7dBdq1zFK1K2nPEw/472SJeMcyZF/1h4g==","shasum":"164ffa9d59266332a3da79b0422b6c38234f699e","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@streamparser/json-node/-/json-node-0.0.18.tgz","fileCount":64,"unpackedSize":113291,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDUrBjgw3FIeCIqgo3ZPOVs6cpaNqLGN1rpRmCHwc5H8AiAdeBP1jfwgPHGRBtNc6XI+CIwTsw3wBRObp/2XJhavAg=="}],"size":17262},"_npmUser":{"name":"anonymous","email":"juanjo.diazmo@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"juanjo.diazmo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-node_0.0.18_1702410171016_0.04571026854546156"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-12-12T19:42:51.212Z","publish_time":1702410171212,"_source_registry_name":"default","contributors":[]},"0.0.19":{"name":"@streamparser/json-node","description":"Streaming JSON parser in Javascript for Node.js, Deno and the browser","version":"0.0.19","main":"./dist/mjs/index.js","module":"./dist/mjs/index.js","browser":"./dist/mjs/index.js","types":"./dist/mjs/index.d.ts","type":"module","exports":{"./*":{"import":"./dist/mjs/*","require":"./dist/cjs/*"},".":{"import":"./dist/mjs/index.js","require":"./dist/cjs/index.js"}},"author":{"name":"Juanjo Diaz","email":"juanjo.diazmo@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/juanjoDiaz/streamparser-json.git"},"homepage":"https://github.com/juanjoDiaz/jsonparse2#readme","bugs":{"url":"https://github.com/juanjoDiaz/streamparser-json/issues"},"scripts":{"lint":"eslint src test --ext .js,.ts,.json","format":"npm run lint -- --fix","build:cjs":"tsc --module commonjs --verbatimModuleSyntax false --outDir ./dist/cjs && node ../../build-cjs.js whatwg","build:mjs":"tsc --module esnext --verbatimModuleSyntax --outDir ./dist/mjs","build:deno":"node ../../build.deno.js . ./dist/deno","build":"npm run build:mjs && npm run build:cjs && npm run build:deno","prepublishOnly":"npm run build","pretest":"npm run build","test":"node test/CommonJS.cjs && jest test","test-with-coverage":"npm test -- --coverage"},"license":"MIT","tags":["json","stream"],"dependencies":{"@streamparser/json":"^0.0.19"},"devDependencies":{"@types/node":"^20.2.3"},"_id":"@streamparser/json-node@0.0.19","gitHead":"cda44fb20219947db5452e65e9cc9d8d0ecfb3e0","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-x3J0phc228+I8hPIE/WFQoJ+iM7vBZEnjEC/e4UspSrrsyQGwsu50D42fXlI035wM6W7D//V58nopdulyXejUQ==","shasum":"e114b5db9aea47aaa119038020952a547f71eda2","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@streamparser/json-node/-/json-node-0.0.19.tgz","fileCount":64,"unpackedSize":113291,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDBBSkRgFg277RWBJF3Xnu8k4BsALhdERZESYClTfp5lAIgT4Rs8zK4UFokG7gSYhgwRkE0GFV6JBwX2PqnVx86EBI="}],"size":17262},"_npmUser":{"name":"anonymous","email":"juanjo.diazmo@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"juanjo.diazmo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-node_0.0.19_1703024289992_0.94743924252999"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-12-19T22:18:10.172Z","publish_time":1703024290172,"_source_registry_name":"default","contributors":[]},"0.0.20":{"name":"@streamparser/json-node","description":"Streaming JSON parser in Javascript for Node.js, Deno and the browser","version":"0.0.20","main":"./dist/mjs/index.js","module":"./dist/mjs/index.js","browser":"./dist/mjs/index.js","types":"./dist/mjs/index.d.ts","type":"module","exports":{"./*":{"import":"./dist/mjs/*","require":"./dist/cjs/*"},".":{"import":"./dist/mjs/index.js","require":"./dist/cjs/index.js"}},"author":{"name":"Juanjo Diaz","email":"juanjo.diazmo@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/juanjoDiaz/streamparser-json.git"},"homepage":"https://github.com/juanjoDiaz/jsonparse2#readme","bugs":{"url":"https://github.com/juanjoDiaz/streamparser-json/issues"},"scripts":{"lint":"eslint src test --ext .js,.ts,.json","format":"npm run lint -- --fix","build:cjs":"tsc --module commonjs --verbatimModuleSyntax false --outDir ./dist/cjs && node ../../build-cjs.js whatwg","build:mjs":"tsc --module esnext --verbatimModuleSyntax --outDir ./dist/mjs","build:deno":"node ../../build.deno.js . ./dist/deno","build":"npm run build:mjs && npm run build:cjs && npm run build:deno","prepublishOnly":"npm run build","pretest":"npm run build","test":"node test/CommonJS.cjs && jest test","test-with-coverage":"npm test -- --coverage"},"license":"MIT","tags":["json","stream"],"dependencies":{"@streamparser/json":"^0.0.20"},"devDependencies":{"@types/node":"^20.2.3"},"_id":"@streamparser/json-node@0.0.20","gitHead":"e2b67954ecf7efe6218fdc9018a2890247edb199","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-EqWKSzBh+VgJx2VV8pw52+ZlLeB7EqFlhOOJWMDlWAHDnpvhLdkS8w0iwpI4/ZjDXfBbkiNpF+iJd/OokT8Wug==","shasum":"e93950cbcec53afe1255a7f2c8b99d0c92bd85ff","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@streamparser/json-node/-/json-node-0.0.20.tgz","fileCount":65,"unpackedSize":113621,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF5Me54nPf8cbhNTx4LzljIDXzyZdCzXYgh2I0/Mt1pIAiEAvrizy6U9aliGWREVubcJs99CXlZH/X/FwLDl2NhuHo4="}],"size":17376},"_npmUser":{"name":"anonymous","email":"juanjo.diazmo@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"juanjo.diazmo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-node_0.0.20_1705768665697_0.004483167319069503"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-01-20T16:37:45.865Z","publish_time":1705768665865,"_source_registry_name":"default","contributors":[]},"0.0.21":{"name":"@streamparser/json-node","description":"Streaming JSON parser in Javascript for Node.js, Deno and the browser","version":"0.0.21","main":"./dist/mjs/index.js","module":"./dist/mjs/index.js","browser":"./dist/mjs/index.js","types":"./dist/mjs/index.d.ts","type":"module","exports":{"./*":{"import":"./dist/mjs/*","require":"./dist/cjs/*"},".":{"import":"./dist/mjs/index.js","require":"./dist/cjs/index.js"}},"author":{"name":"Juanjo Diaz","email":"juanjo.diazmo@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/juanjoDiaz/streamparser-json.git"},"homepage":"https://github.com/juanjoDiaz/jsonparse2#readme","bugs":{"url":"https://github.com/juanjoDiaz/streamparser-json/issues"},"scripts":{"lint":"eslint src test --ext .js,.ts,.json","format":"npm run lint -- --fix","build:cjs":"tsc --module commonjs --verbatimModuleSyntax false --outDir ./dist/cjs && node ../../build-cjs.js whatwg","build:mjs":"tsc --module esnext --verbatimModuleSyntax --outDir ./dist/mjs","build:deno":"node ../../build.deno.js . ./dist/deno","build":"npm run build:mjs && npm run build:cjs && npm run build:deno","prepublishOnly":"npm run build","pretest":"npm run build","test":"node test/CommonJS.cjs && jest test","test-with-coverage":"npm test -- --coverage"},"license":"MIT","tags":["json","stream"],"dependencies":{"@streamparser/json":"^0.0.21"},"devDependencies":{"@types/node":"^20.2.3"},"_id":"@streamparser/json-node@0.0.21","gitHead":"d99b9c7f61032e49d1cddabe14f372cf91e23bd1","_nodeVersion":"20.12.2","_npmVersion":"10.5.0","dist":{"integrity":"sha512-IZnHO+ADUNjcRPe7T/OY3KuAd4nCb0x5nxfiWoK7+OZKup6ijWDqOHi5VK74kYk2VdaHVccv1Ddwi2AOHVxlXQ==","shasum":"b61ad3cde841586bdb06ecd038083fec67e038e1","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@streamparser/json-node/-/json-node-0.0.21.tgz","fileCount":65,"unpackedSize":116626,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGP9x0fUVHUqjdO42ldo9iL5xmvEv9KQvPEkTu7u2qqBAiBbxV17Vxsita9DINEALIjq/5Pf9aScOz0ZRlDiVhaTMA=="}],"size":17825},"_npmUser":{"name":"anonymous","email":"juanjo.diazmo@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"juanjo.diazmo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-node_0.0.21_1714767380936_0.7557513014729196"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-05-03T20:16:21.080Z","publish_time":1714767381080,"_source_registry_name":"default","contributors":[]},"0.0.22":{"name":"@streamparser/json-node","description":"Streaming JSON parser in Javascript for Node.js, Deno and the browser","version":"0.0.22","main":"./dist/mjs/index.js","module":"./dist/mjs/index.js","browser":"./dist/mjs/index.js","types":"./dist/mjs/index.d.ts","type":"module","exports":{"./*":{"import":"./dist/mjs/*","require":"./dist/cjs/*"},".":{"import":"./dist/mjs/index.js","require":"./dist/cjs/index.js"}},"author":{"name":"Juanjo Diaz","email":"juanjo.diazmo@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/juanjoDiaz/streamparser-json.git"},"homepage":"https://github.com/juanjoDiaz/jsonparse2#readme","bugs":{"url":"https://github.com/juanjoDiaz/streamparser-json/issues"},"scripts":{"lint":"eslint src test --ext .js,.ts,.json","lint:fix":"npm run lint -- --fix","build:cjs":"tsc --module commonjs --verbatimModuleSyntax false --outDir ./dist/cjs && node ../../build-cjs.js whatwg","build:mjs":"tsc --module esnext --verbatimModuleSyntax --outDir ./dist/mjs","build:deno":"node ../../build.deno.js . ./dist/deno","build":"npm run build:mjs && npm run build:cjs && npm run build:deno","prepublishOnly":"npm run build","pretest":"npm run build","test":"node test/CommonJS.cjs && jest test","test-with-coverage":"npm test -- --coverage"},"license":"MIT","tags":["json","stream"],"dependencies":{"@streamparser/json":"^0.0.22"},"devDependencies":{"@types/node":"^22.9.0"},"_id":"@streamparser/json-node@0.0.22","gitHead":"09195922f2e43280a5c45e557d4e21bdbe110616","_nodeVersion":"20.18.1","_npmVersion":"10.8.2","dist":{"integrity":"sha512-sJT2ptNRwqB1lIsQrQlCoWk5rF4tif9wDh+7yluAGijJamAhrHGYpFB/Zg3hJeceoZypi74ftXk8DHzwYpbZSg==","shasum":"cee66bb2f175e41abf83574dc7d6fe9c997d94d5","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@streamparser/json-node/-/json-node-0.0.22.tgz","fileCount":65,"unpackedSize":116919,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCfcKpl7KfNHVDq3biAAPD3R6tzl633NxE2m6M/T3MeKgIhAOyH+LmcghMgTPtEMpvTxuYC+P1UgsEITAM7rdG18UqU"}],"size":17895},"_npmUser":{"name":"anonymous","email":"juanjo.diazmo@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"juanjo.diazmo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/json-node_0.0.22_1737916795977_0.43216012438392326"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-01-26T18:39:56.184Z","publish_time":1737916796184,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"0.0.22"},"name":"@streamparser/json-node","time":{"created":"2023-05-26T16:21:23.862Z","modified":"2025-08-14T10:41:40.815Z","0.0.15":"2023-05-26T15:47:34.827Z","0.0.16":"2023-07-28T20:38:03.084Z","0.0.17":"2023-08-24T18:30:36.457Z","0.0.18":"2023-12-12T19:42:51.212Z","0.0.19":"2023-12-19T22:18:10.172Z","0.0.20":"2024-01-20T16:37:45.865Z","0.0.21":"2024-05-03T20:16:21.080Z","0.0.22":"2025-01-26T18:39:56.184Z"},"readme":"# @streamparser/json-node\n\n[![npm version][npm-version-badge]][npm-badge-url]\n[![npm monthly downloads][npm-downloads-badge]][npm-badge-url]\n[![Build Status][build-status-badge]][build-status-url]\n[![Coverage Status][coverage-status-badge]][coverage-status-url]\n\nFast dependency-free library to parse a JSON stream using utf-8 encoding in Node.js, Deno or any modern browser. Fully compliant with the JSON spec and `JSON.parse(...)`.\n\n*tldr;*\n\n```javascript\nimport { JSONParser } from '@streamparser/json-node';\n\nconst parser = new JSONParser();\n\ninputStream.pipe(jsonparser).pipe(destinationStream);\n\n// Or using events to get the values\n\nparser.on(\"data\", (value) => { /* ... */ });\nparser.on(\"error\", err => { /* ... */ });\nparser.on(\"end\", () => { /* ... */ });\n```\n\n## @streamparser/json ecosystem\n\nThere are multiple flavours of @streamparser:\n\n* The **[@streamparser/json](https://www.npmjs.com/package/@streamparser/json)** package allows to parse any JSON string or stream using pure Javascript.\n* The **[@streamparser/json-whatwg](https://www.npmjs.com/package/@streamparser/json-whatwg)** wraps `@streamparser/json` into a WHATWG TransformStream.\n* The **[@streamparser/json-node](https://www.npmjs.com/package/@streamparser/json-node)** wraps `@streamparser/json` into a node Transform stream.\n\n## Components\n\n### Tokenizer\n\nA JSON compliant tokenizer that parses a utf-8 stream into JSON tokens that are emitted as objects.\n\n```javascript\nimport { Tokenizer } from '@streamparser/json-node';\n\nconst tokenizer = new Tokenizer(opts, transformOpts);\n```\n\nTransform options take the standard node Transform stream settings (see [Node docs](https://nodejs.org/api/stream.html#class-streamtransform)).\n\nThe available options are:\n\n```javascript\n{\n  stringBufferSize: <number>, // set to 0 to don't buffer. Min valid value is 4.\n  numberBufferSize: <number>, // set to 0 to don't buffer.\n  separator: <string>, // separator between object. For example `\\n` for nd-js.\n  emitPartialTokens: <boolean> // whether to emit tokens mid-parsing.\n}\n```\n\nIf buffer sizes are set to anything else than zero, instead of using a string to apppend the data as it comes in, the data is buffered using a TypedArray. A reasonable size could be `64 * 1024` (64 KB).\n\n#### Buffering\n\nWhen parsing strings or numbers, the parser needs to gather the data in-memory until the whole value is ready.\n\nStrings are inmutable in Javascript so every string operation creates a new string. The V8 engine, behind Node, Deno and most modern browsers, performs a many different types of optimization. One of this optimizations is to over-allocate memory when it detects many string concatenations. This increases significatly the memory consumption and can easily exhaust your memory when parsing JSON containing very large strings or numbers. For those cases, the parser can buffer the characters using a TypedArray. This requires encoding/decoding from/to the buffer into an actual string once the value is ready. This is done using the `TextEncoder` and `TextDecoder` APIs. Unfortunately, these APIs creates a significant overhead when the strings are small so should be used only when strictly necessary.\n\n### TokenParser\n\nA token parser that processes JSON tokens as emitted by the `Tokenizer` and emits JSON values/objects.\n\n```javascript\nimport { TokenParser} from '@streamparser/json-node';\n\nconst tokenParser = new TokenParser(opts, writableStrategy, readableStrategy);\n```\n\nTransform options take the standard node Transform stream settings (see [Node docs](https://nodejs.org/api/stream.html#class-streamtransform)).\n\nThe available options are:\n\n```javascript\n{\n  paths: <string[]>,\n  keepStack: <boolean>, // whether to keep all the properties in the stack\n  separator: <string>, // separator between object. For example `\\n` for nd-js. If left empty or set to undefined, the token parser will end after parsing the first object. To parse multiple object without any delimiter just set it to the empty string `''`.\n  emitPartialValues: <boolean>, // whether to emit values mid-parsing.\n}\n```\n\n* paths: Array of paths to emit. Defaults to `undefined` which emits everything. The paths are intended to suppot jsonpath although at the time being it only supports the root object selector (`$`) and subproperties selectors including wildcards (`$.a`, `$.*`, `$.a.b`, , `$.*.b`, etc). \n* keepStack: Whether to keep full objects on the stack even if they won't be emitted. Defaults to `true`. When set to `false` the it does preserve properties in the parent object some ancestor will be emitted. This means that the parent object passed to the `onValue` function will be empty, which doesn't reflect the truth, but it's more memory-efficient.\n\n### JSONParser\n\nThe full blown JSON parser. It basically chains a `Tokenizer` and a `TokenParser`.\n\n```javascript\nimport { JSONParser } from '@streamparser/json-node';\n\nconst parser = new JSONParser();\n```\n\n## Usage\n\nYou can use both components independently as\n\n```javascript\nconst tokenizer = new Tokenizer(opts);\nconst tokenParser = new TokenParser();\nconst jsonParser = tokenizer.pipeTrough(tokenParser);\n```\n\nYou can subscribe to the resulting data using the \n\n```javascript\nimport { JSONParser } from '@streamparser/json-node';\n\nconst parser = new JSONParser({ stringBufferSize: undefined, paths: ['$'] });\n\ninputStream.pipe(jsonparser).pipe(destinationStream);\n\n// Or using events to get the values\n\nparser.on(\"data\", (value) => { /* ... */ });\nparser.on(\"error\", err => { /* ... */ });\nparser.on(\"end\", () => { /* ... */ });\n```\n\n## Examples\n\n### Stream-parsing a fetch request returning a JSONstream\n\nImagine an endpoint that send a large amount of JSON objects one after the other (`{\"id\":1}{\"id\":2}{\"id\":3}...`).\n\n```js\n  import { JSONParser} from '@streamparser/json-node';\n\n  const parser = new JSONParser();\n\n  const response = await fetch('http://example.com/');\n  const reader = response.body.pipe(parser);\n  reader.on('data', value => /* process element */);\n```\n\n### Stream-parsing a fetch request returning a JSON array\n\nImagine an endpoint that send a large amount of JSON objects one after the other (`[{\"id\":1},{\"id\":2},{\"id\":3},...]`).\n\n```js\n  import { JSONParser } from '@streamparser/json-node';\n\n  const parser = new JSONParser({ stringBufferSize: undefined, paths: ['$.*'], keepStack: false });\n\n  const response = await fetch('http://example.com/');\n\n  const reader = response.body.pipe(parse).getReader();\n\n  reader.on('data', ({ value, key, parent, stack }) => /* process element */)\n```\n\n### Stream-parsing a fetch request returning a very long string getting previews of the string\n\nImagine an endpoint that send a large amount of JSON objects one after the other (`\"Once upon a midnight <...>\"`).\n\n```js\n  import { JSONParser } from '@streamparser/json-node';\n\n  const parser = new JSONParser({ stringBufferSize: undefined, paths: ['$.*'], keepStack: false });\n\n  const response = await fetch('http://example.com/');\n\n  const reader = response.body.pipe(parse).getReader();\n\n  reader.on('data', ({ value, key, parent, stack, partial }) => {\n    if (partial) {\n      console.log(`Parsing value: ${value}... (still parsing)`);\n    } else {\n      console.log(`Value parsed: ${value}`);\n    }\n  });\n```\n\n## License\n\nSee [LICENSE.md](../../LICENSE).\n\n[npm-version-badge]: https://badge.fury.io/js/@streamparser%2Fjson-node.svg\n[npm-badge-url]: https://www.npmjs.com/package/@streamparser/json-node\n[npm-downloads-badge]: https://img.shields.io/npm/dm/@streamparser%2Fjson-node.svg\n[build-status-badge]: https://github.com/juanjoDiaz/streamparser-json/actions/workflows/on-push.yaml/badge.svg\n[build-status-url]: https://github.com/juanjoDiaz/streamparser-json/actions/workflows/on-push.yaml\n[coverage-status-badge]: https://coveralls.io/repos/github/juanjoDiaz/streamparser-json/badge.svg?branch=main\n[coverage-status-url]: https://coveralls.io/github/juanjoDiaz/streamparser-json?branch=main","users":{}}