{"_id":"@3xpo/microjson","_rev":"5-b6831bc361e5ce9e06ec78a30ccfb13b","name":"@3xpo/microjson","dist-tags":{"latest":"1.0.5"},"versions":{"1.0.0":{"name":"@3xpo/microjson","version":"1.0.0","description":"A pure TypeScript JSON parser","main":"dist/lib.js","module":"dist/lib.esm.js","types":"dist/main.d.ts","exports":{".":{"import":"./dist/lib.esm.js","require":"./dist/lib.js"},"./polyfill":{"import":"./dist/polyfill.esm.js","require":"./dist/polyfill.js"}},"author":{"name":"Expo"},"license":"MIT","devDependencies":{"@rollup/plugin-terser":"^0.4.3","@rollup/plugin-typescript":"^11.1.2","@types/jest":"^29.5.3","jest":"^29.6.1","rollup":"^3.26.3","ts-jest":"^29.1.1","tslib":"^2.6.0","typedoc":"^0.24.8","typescript":"^5.1.6"},"scripts":{"build":"rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript","build:docs":"typedoc --out docs --tsconfig doctsconfig.json dist/main.d.ts","test":"jest"},"_id":"@3xpo/microjson@1.0.0","_integrity":"sha512-riDDAheIvvaF03WJw4LwlDATWOYrxQo78PGb7n2Dxf8E1O4di/I7ZQtizsAYXVIx/RYC1y7xiyl825C9rxcLHg==","_resolved":"/tmp/5af859d773359a241671625520f8dc8c/3xpo-microjson-1.0.0.tgz","_from":"file:3xpo-microjson-1.0.0.tgz","_nodeVersion":"20.4.0","_npmVersion":"9.7.2","dist":{"integrity":"sha512-riDDAheIvvaF03WJw4LwlDATWOYrxQo78PGb7n2Dxf8E1O4di/I7ZQtizsAYXVIx/RYC1y7xiyl825C9rxcLHg==","shasum":"b179998c01dd8035bd32628e0e08d7834a7a58f3","tarball":"https://registry.npmjs.org/@3xpo/microjson/-/microjson-1.0.0.tgz","fileCount":21,"unpackedSize":45794,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCdU4iykEwzCKgTd4ftLzEuHedZaB+YGmcJCaTupzO2AwIgQHsgaw1DE7djIv1FHhT4QnwmJ2eTJZEAaye8ecQox2g="}]},"_npmUser":{"name":"exponentialworkload","email":"cc@aaathats3as.com"},"directories":{},"maintainers":[{"name":"exponentialworkload","email":"cc@aaathats3as.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/microjson_1.0.0_1690145223318_0.5355265815829124"},"_hasShrinkwrap":false},"1.0.1":{"name":"@3xpo/microjson","version":"1.0.1","description":"A pure TypeScript JSON parser","main":"dist/lib.js","module":"dist/lib.esm.js","types":"dist/main.d.ts","exports":{".":{"import":"./dist/lib.esm.js","require":"./dist/lib.js"},"./polyfill":{"import":"./dist/polyfill.esm.js","require":"./dist/polyfill.js"}},"author":{"name":"Expo"},"license":"MIT","devDependencies":{"@rollup/plugin-terser":"^0.4.3","@rollup/plugin-typescript":"^11.1.2","@types/jest":"^29.5.3","jest":"^29.6.1","rollup":"^3.26.3","ts-jest":"^29.1.1","tslib":"^2.6.0","typedoc":"^0.24.8","typescript":"^5.1.6"},"homepage":"https://microjson.expo.moe","repository":{"type":"git","url":"git+https://github.com/Exponential-Workload/microjson.git"},"scripts":{"build":"rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript","build:docs":"typedoc --out docs --tsconfig doctsconfig.json dist/main.d.ts","test":"jest"},"bugs":{"url":"https://github.com/Exponential-Workload/microjson/issues"},"_id":"@3xpo/microjson@1.0.1","_integrity":"sha512-JW2G2SwNQltsoLm7anNt+ocQN7bC+b3riAv+oHKpgfTk0DaSb7jRCmfM4TvcT23O7vBeU/jXzqgBokPmvpxstA==","_resolved":"/tmp/5e211f9c22e22714a78dc966f118ff3e/3xpo-microjson-1.0.1.tgz","_from":"file:3xpo-microjson-1.0.1.tgz","_nodeVersion":"20.4.0","_npmVersion":"9.7.2","dist":{"integrity":"sha512-JW2G2SwNQltsoLm7anNt+ocQN7bC+b3riAv+oHKpgfTk0DaSb7jRCmfM4TvcT23O7vBeU/jXzqgBokPmvpxstA==","shasum":"cfbe03423a3b4b56788ba847aab923d6a8cd25ab","tarball":"https://registry.npmjs.org/@3xpo/microjson/-/microjson-1.0.1.tgz","fileCount":25,"unpackedSize":835141,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDARed0POBXiTnymvvjTQTLb1RBuvQtGCQDyblNVrTi/wIhAIz2fxFOWf/of9wpbyU7xPK2jF6ljsRWk4KpmAzrZk8u"}]},"_npmUser":{"name":"exponentialworkload","email":"cc@aaathats3as.com"},"directories":{},"maintainers":[{"name":"exponentialworkload","email":"cc@aaathats3as.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/microjson_1.0.1_1690147917287_0.6581135744981153"},"_hasShrinkwrap":false},"1.0.2":{"name":"@3xpo/microjson","version":"1.0.2","description":"A pure TypeScript JSON parser","main":"dist/lib.js","module":"dist/lib.esm.js","types":"dist/main.d.ts","exports":{".":{"import":"./dist/lib.esm.js","require":"./dist/lib.js"},"./polyfill":{"import":"./dist/polyfill.esm.js","require":"./dist/polyfill.js"}},"author":{"name":"Expo"},"license":"MIT","devDependencies":{"@rollup/plugin-terser":"^0.4.3","@rollup/plugin-typescript":"^11.1.2","@types/jest":"^29.5.3","jest":"^29.6.1","rollup":"^3.26.3","ts-jest":"^29.1.1","tslib":"^2.6.0","typedoc":"^0.24.8","typescript":"^5.1.6"},"homepage":"https://microjson.expo.moe","repository":{"type":"git","url":"git+https://github.com/Exponential-Workload/microjson.git"},"scripts":{"build":"rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript","build:docs":"typedoc --out docs --tsconfig doctsconfig.json dist/main.d.ts","test":"jest"},"bugs":{"url":"https://github.com/Exponential-Workload/microjson/issues"},"_id":"@3xpo/microjson@1.0.2","_integrity":"sha512-RxIBShduhZ2rfg/FGRDm1KmQAB4a6yTF5DFGiAFnuADnyYsJ8Hkv2VjHshRk1/w6UhX7kc1qRY6xrrNxadcrKQ==","_resolved":"/tmp/13a63e3e9eae028bfcdea33b7364a900/3xpo-microjson-1.0.2.tgz","_from":"file:3xpo-microjson-1.0.2.tgz","_nodeVersion":"20.4.0","_npmVersion":"9.7.2","dist":{"integrity":"sha512-RxIBShduhZ2rfg/FGRDm1KmQAB4a6yTF5DFGiAFnuADnyYsJ8Hkv2VjHshRk1/w6UhX7kc1qRY6xrrNxadcrKQ==","shasum":"d483a541751b1a369ed9524440d126d883dacbbb","tarball":"https://registry.npmjs.org/@3xpo/microjson/-/microjson-1.0.2.tgz","fileCount":27,"unpackedSize":835207,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGaw/duYUt4G1sY1k0XnYi5Y9j+rEcG/wKAaVcrb9uoeAiEA/fZVm4YBgjtAerG8oAE80bD3u9KhNy4sk7+nBLynrCY="}]},"_npmUser":{"name":"exponentialworkload","email":"cc@aaathats3as.com"},"directories":{},"maintainers":[{"name":"exponentialworkload","email":"cc@aaathats3as.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/microjson_1.0.2_1690148114546_0.8899549019801452"},"_hasShrinkwrap":false},"1.0.3":{"name":"@3xpo/microjson","version":"1.0.3","description":"A pure TypeScript JSON parser","main":"dist/lib.js","module":"dist/lib.esm.js","types":"dist/main.d.ts","exports":{".":{"import":"./dist/lib.esm.js","require":"./dist/lib.js"},"./polyfill":{"import":"./dist/polyfill.esm.js","require":"./dist/polyfill.js"}},"author":{"name":"Expo"},"license":"MIT","devDependencies":{"@rollup/plugin-terser":"^0.4.3","@rollup/plugin-typescript":"^11.1.2","@types/jest":"^29.5.3","jest":"^29.6.1","rollup":"^3.26.3","ts-jest":"^29.1.1","tslib":"^2.6.0","typedoc":"^0.24.8","typescript":"^5.1.6"},"homepage":"https://microjson.expo.moe","repository":{"type":"git","url":"git+https://github.com/Exponential-Workload/microjson.git"},"scripts":{"build":"rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript","build:docs":"typedoc --out docs --tsconfig doctsconfig.json dist/main.d.ts","test":"jest"},"bugs":{"url":"https://github.com/Exponential-Workload/microjson/issues"},"_id":"@3xpo/microjson@1.0.3","_integrity":"sha512-N1f4/U4i6id2PdosT4uf7cXTfqfaM5q7qpPKQFm4fQdJOlLQCQ+YxECspPAasn6HYUhdndsz5Mx01C8bncwuHQ==","_resolved":"/tmp/1c588db438b2087f97e7be84a8b5b05b/3xpo-microjson-1.0.3.tgz","_from":"file:3xpo-microjson-1.0.3.tgz","_nodeVersion":"20.4.0","_npmVersion":"9.7.2","dist":{"integrity":"sha512-N1f4/U4i6id2PdosT4uf7cXTfqfaM5q7qpPKQFm4fQdJOlLQCQ+YxECspPAasn6HYUhdndsz5Mx01C8bncwuHQ==","shasum":"2b72cafe43320ddb35409eb34762eb74f4e9ed7f","tarball":"https://registry.npmjs.org/@3xpo/microjson/-/microjson-1.0.3.tgz","fileCount":27,"unpackedSize":835219,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCjpj73oAiawJvr/YgLEJdYZsHdrY7Dk8XuUJu11NANBwIhANMsyTSKiNMGoKbFdNH3EHJpfvLJ3MUdhhnGbx6M6PnO"}]},"_npmUser":{"name":"exponentialworkload","email":"cc@aaathats3as.com"},"directories":{},"maintainers":[{"name":"exponentialworkload","email":"cc@aaathats3as.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/microjson_1.0.3_1690148237214_0.7371360462383747"},"_hasShrinkwrap":false},"1.0.4":{"name":"@3xpo/microjson","version":"1.0.4","description":"A pure TypeScript JSON parser","main":"dist/lib.js","module":"dist/lib.esm.js","types":"dist/main.d.ts","exports":{".":{"import":"./dist/lib.esm.js","require":"./dist/lib.js"},"./polyfill":{"import":"./dist/polyfill.esm.js","require":"./dist/polyfill.js"}},"author":{"name":"Expo"},"license":"MIT","devDependencies":{"@rollup/plugin-terser":"^0.4.3","@rollup/plugin-typescript":"^11.1.2","@types/jest":"^29.5.3","jest":"^29.6.1","rollup":"^3.26.3","ts-jest":"^29.1.1","tslib":"^2.6.0","typedoc":"^0.24.8","typescript":"^5.1.6"},"homepage":"https://microjson.expo.moe","repository":{"type":"git","url":"git+https://github.com/Exponential-Workload/microjson.git"},"scripts":{"build":"rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript","build:docs":"typedoc --out docs --tsconfig doctsconfig.json dist/main.d.ts","test":"jest"},"bugs":{"url":"https://github.com/Exponential-Workload/microjson/issues"},"_id":"@3xpo/microjson@1.0.4","_integrity":"sha512-LobQ8mE+0tWGix+bNO3uUICOJSTQo7Q+92i/uKyKA+UbKV7o/Ja7a5FFMFldyXpZoRHYSoRZMwFqTOFjZ3udEg==","_resolved":"/tmp/b581bbf8e29d38409da87afa16ccc006/3xpo-microjson-1.0.4.tgz","_from":"file:3xpo-microjson-1.0.4.tgz","_nodeVersion":"20.4.0","_npmVersion":"9.7.2","dist":{"integrity":"sha512-LobQ8mE+0tWGix+bNO3uUICOJSTQo7Q+92i/uKyKA+UbKV7o/Ja7a5FFMFldyXpZoRHYSoRZMwFqTOFjZ3udEg==","shasum":"50452961f3dda233e1a60999ba59acaee9d07d48","tarball":"https://registry.npmjs.org/@3xpo/microjson/-/microjson-1.0.4.tgz","fileCount":27,"unpackedSize":835215,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD0D3xfeR8Rl1YWCgOABueKqJxACbuAZWLpHM1Bf0yIwgIgXEAIsJGgZEwW94NaWDATv5S+ASPsCcr9VJ0+zgmTIU4="}]},"_npmUser":{"name":"exponentialworkload","email":"cc@aaathats3as.com"},"directories":{},"maintainers":[{"name":"exponentialworkload","email":"cc@aaathats3as.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/microjson_1.0.4_1690148340956_0.6565488773640324"},"_hasShrinkwrap":false},"1.0.5":{"name":"@3xpo/microjson","version":"1.0.5","description":"A pure TypeScript JSON parser","main":"dist/lib.js","module":"dist/lib.esm.js","types":"dist/main.d.ts","exports":{".":{"import":"./dist/lib.esm.js","require":"./dist/lib.js","types":"./dist/main.d.ts"},"./polyfill":{"import":"./dist/poly.esm.js","require":"./dist/poly.js","types":"./dist/polyfill.d.ts"}},"author":{"name":"Expo"},"license":"MIT","devDependencies":{"@rollup/plugin-terser":"^0.4.3","@rollup/plugin-typescript":"^11.1.2","@types/jest":"^29.5.3","jest":"^29.6.1","rollup":"^3.26.3","ts-jest":"^29.1.1","tslib":"^2.6.0","typedoc":"^0.24.8","typescript":"^5.1.6"},"homepage":"https://microjson.expo.moe","repository":{"type":"git","url":"git+https://github.com/Exponential-Workload/microjson.git"},"scripts":{"build":"rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript","build:docs":"typedoc --out docs --tsconfig doctsconfig.json dist/main.d.ts","test":"jest"},"bugs":{"url":"https://github.com/Exponential-Workload/microjson/issues"},"_id":"@3xpo/microjson@1.0.5","_integrity":"sha512-/Qg839TK8swDl2+0SADv0eWmg5T5xlVCf39tO9R77VZL8IEMu1o5r/Y1voeF7esO7m4IFG8lQUySutDHtlSJyA==","_resolved":"/tmp/949249ce66d1c9a23ebb308de56c08a5/3xpo-microjson-1.0.5.tgz","_from":"file:3xpo-microjson-1.0.5.tgz","_nodeVersion":"20.4.0","_npmVersion":"9.7.2","dist":{"integrity":"sha512-/Qg839TK8swDl2+0SADv0eWmg5T5xlVCf39tO9R77VZL8IEMu1o5r/Y1voeF7esO7m4IFG8lQUySutDHtlSJyA==","shasum":"be46d6915d20732b660f3d80633ad386455253fc","tarball":"https://registry.npmjs.org/@3xpo/microjson/-/microjson-1.0.5.tgz","fileCount":27,"unpackedSize":835281,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCE480Qv+aqE5PoVH/5iIa0fLmczoQo7VDL99IFDU1+MwIgTYq7T2zVxwuFEENpXO+LBuR/RWK9XvbNoEuDDJBtNMs="}]},"_npmUser":{"name":"exponentialworkload","email":"cc@aaathats3as.com"},"directories":{},"maintainers":[{"name":"exponentialworkload","email":"cc@aaathats3as.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/microjson_1.0.5_1690148430213_0.7753752793714177"},"_hasShrinkwrap":false}},"time":{"created":"2023-07-23T20:47:03.214Z","1.0.0":"2023-07-23T20:47:03.493Z","modified":"2023-07-23T21:40:30.621Z","1.0.1":"2023-07-23T21:31:57.505Z","1.0.2":"2023-07-23T21:35:14.755Z","1.0.3":"2023-07-23T21:37:17.447Z","1.0.4":"2023-07-23T21:39:01.148Z","1.0.5":"2023-07-23T21:40:30.401Z"},"maintainers":[{"name":"exponentialworkload","email":"cc@aaathats3as.com"}],"description":"A pure TypeScript JSON parser","author":{"name":"Expo"},"license":"MIT","readme":"<div align=\"center\">\n\n[![Social Card](./social.png)](https://microjson.expo.moe/)\n\n# MicroJSON\n\n[![Build & Deploy](https://github.com/Exponential-Workload/microjson/actions/workflows/mkdocs.yml/badge.svg)](https://github.com/Exponential-Workload/microjson/actions/workflows/mkdocs.yml) [![Tests](https://github.com/Exponential-Workload/microjson/actions/workflows/test.yml/badge.svg)](https://github.com/Exponential-Workload/microjson/actions/workflows/test.yml)<br/>\n[![documentation](https://img.shields.io/badge/-documentation-brightgreen.svg)](https://microjson.expo.moe/) [![npm](https://img.shields.io/badge/-npm-red.svg)](https://npm.im/@3xpo/microjson/) [![github](https://img.shields.io/badge/-github-blue.svg)](https://github.com/Exponential-Workload/microjson/tree/master)<br/>\n[![mit license](https://img.shields.io/badge/license-mit-orange.svg)](https://microjson.expo.moe/LICENSE.txt) [![mom made pizza](https://img.shields.io/badge/type-safe-blue.svg)](https://typescriptlang.org/) [![mom made pizza](https://img.shields.io/badge/mom%20made-pizza-white.svg)](https://www.youtube.com/watch?v=iiASNxG4Mdg&list=PLsZdaL54kaMB6dhCuBe2Y34wWCiTrUAXe&index=21)<br/><!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\n[![All Contributors](https://img.shields.io/badge/all_contributors-1-orange.svg?style=flat-square)](#contributors-)\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\n\nA JSON implementation quickly thrown together.\n\n</div>\n\n## Example\n```ts\nimport { JSONParser, JSONSerializer } from '@3xpo/microjson';\n\n// parser:\nconst parser = new JSONParser();\nconsole.log(parser.parse<{\n  hello: string; // this object is optional, however it allows specifying detailed types for the return value without casting\n}>('{\"hello\": \"world\"}'));\n\n// serializer:\nconst serializer = new JSONSerializer();\nconsole.log(serializer.serialize({ hello: 'world' }));\n```\n\n### As a polyfill\n```ts\nimport JSON from '@3xpo/microjson/polyfill';\nconsole.log(JSON.parse<{\n  hello: string; // yet again, this object is optional, however it allows specifying detailed types for the return value without casting\n}>('{\"hello\": \"world\"}'));\nconsole.log(JSON.stringify({ hello: 'world' }, null, 2));\n```\n\n## Contributors ​\n\nThanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n<!-- prettier-ignore-start -->\n<!-- markdownlint-disable -->\n<table>\n  <tbody>\n    <tr>\n      <td align=\"center\" valign=\"top\" width=\"14.28%\"><a href=\"https://github.com/Exponential-Workload\"><img src=\"https://avatars.githubusercontent.com/u/90570076?v=4?s=100\" width=\"100px;\" alt=\"ExponentialWorkload\"/><br /><sub><b>ExponentialWorkload</b></sub></a><br /><a href=\"https://github.com/Exponential-Workload/microjson/commits?author=Exponential-Workload\" title=\"Code\">💻</a> <a href=\"https://github.com/Exponential-Workload/microjson/commits?author=Exponential-Workload\" title=\"Documentation\">📖</a> <a href=\"#infra-Exponential-Workload\" title=\"Infrastructure (Hosting, Build-Tools, etc)\">🚇</a> <a href=\"#maintenance-Exponential-Workload\" title=\"Maintenance\">🚧</a> <a href=\"https://github.com/Exponential-Workload/microjson/commits?author=Exponential-Workload\" title=\"Tests\">⚠️</a></td>\n    </tr>\n  </tbody>\n</table>\n\n<!-- markdownlint-restore -->\n<!-- prettier-ignore-end -->\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!\n\n*Tests & JSDoc were written using ChatGPT because I'm lazy.*\n\n## License\nThis project is licensed under the MIT license. See [LICENSE](https://microjson.expo.moe/LICENSE.txt) for more information.\n","readmeFilename":"README.md","homepage":"https://microjson.expo.moe","repository":{"type":"git","url":"git+https://github.com/Exponential-Workload/microjson.git"},"bugs":{"url":"https://github.com/Exponential-Workload/microjson/issues"}}