{"_id":"@elijahjcobb/better-json","_rev":"1-ee6cbd18e1d42a71b823a0e6e1e9157a","name":"@elijahjcobb/better-json","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@elijahjcobb/better-json","version":"1.0.0","description":"This package adds some functionality to `JSON.parse()` and `JSON.stringify()` adding the ability to parse and stringify a `Buffer` object automatically recursively.","keywords":[],"main":"js/index","types":"dts/index","scripts":{"test":"echo \"Error: no test specified\" && exit 1","prepublishOnly":"npm run compile","compile":"npm run clean && /usr/local/bin/tsc -p tsconfig.json","watch":"tsc -w -p .","clean":"rm -rf js && rm -rf dts","start":"node js/index.js"},"repository":{"type":"git","url":"git+https://github.com/elijahjcobb/better-json.git"},"publishConfig":{"access":"public"},"author":{"name":"Elijah Cobb","email":"elijah@elijahcobb.com","url":"https://elijahcobb.com/"},"license":"MIT","bugs":{"url":"https://github.com/elijahjcobb/better-json/issues"},"homepage":"https://github.com/elijahjcobb/better-json#readme","dependencies":{},"devDependencies":{"@types/node":"latest","typescript":"latest","tslint":"latest","jest":"latest","@types/jest":"latest"},"gitHead":"3278e7d01a597dc14fda111b3a3ed445de2b1f6b","_id":"@elijahjcobb/better-json@1.0.0","_nodeVersion":"13.11.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-rd/1uC5cmypSx7/5fBm9tj/4wZ8AtQ1dKKptNMG52M0yXcCHcOnXzszudZyVuKJNzlNrpYR7U4Ami9zvErxI8g==","shasum":"44c26c7e1dc0b30724bf04fd147dc762362034df","tarball":"https://registry.npmjs.org/@elijahjcobb/better-json/-/better-json-1.0.0.tgz","fileCount":9,"unpackedSize":8797,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJem3jECRA9TVsSAnZWagAApzoQAIC0jY0+8e+YvYRz2ygO\n2acvHfUSlv0UG6uU2IjGfh4H8ML4sowgjiIKeVQzjapV3eKaGSKxOy0aTnzb\n2ohNFLq+ODPbgE/uDHm/df94VSk3osN3vgFtWYKxE6GRLlRuVKxDjdVtjKkS\nXh4TD36EV42jvmF/2MVRESRXskoUx6cdkAjcuUQJNl5ah1lm+A6LtQb/F6Wk\nLyIcYkH5Pk9+ZqZqUj47K+fmu55B6gDqZ8vd3xJV1G+NKR5XQfEyfM0YsrMR\nTsyveFD1bD0gubzrMr6EbuG3h0QVKQ8qISAFGm/NVhT8FhHbg91Ys+AfT2ub\nGxbfu7JXNqsHZNVVo2RY7fILcNk3bcDggqleF1xk00WgOGyHw5BA/OjLeqsp\nTaFR74MnwaW8BCvS/doY+0CqUg0ZZjmEisQsr+j0Vry6mLjNk/42dUaM93eQ\nKa2RBUrnX2a2xeWrxIu5C+WVw14iq3WQnvlpD4TK/lU/sUAyhje0TQX4xDVb\nrA3t0jKmLypdrFBmxR62baiwSFPasJXHUFnDLN6MhG8j9R4D/RIgid4iyFsC\nKXGzio576YEm200gDSU1CV6IY87ZY5TlaqtIsSI3odQYTsG/cmYdsilI3hnz\nnjmt7X6rgZEgAFhb032cT9KjEn4bBbG3VR73syo1MBkorqGdPn7Dsg19js7p\nzTdt\r\n=dkAR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWbgGBCb7zwQWceLbLwQi+obDgwUmEAB9sEUXEMvg2vgIhAItEkk5/lCD8eMLWEWqesMpG0/s0R6bn+rCL2yWVlP6i"}]},"maintainers":[{"name":"ejc","email":"elijah@elijahcobb.com"}],"_npmUser":{"name":"ejc","email":"elijah@elijahcobb.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/better-json_1.0.0_1587247299992_0.22126006068022064"},"_hasShrinkwrap":false}},"time":{"created":"2020-04-18T22:01:39.798Z","1.0.0":"2020-04-18T22:01:40.126Z","modified":"2022-04-05T07:11:55.724Z"},"maintainers":[{"name":"ejc","email":"elijah@elijahcobb.com"}],"description":"This package adds some functionality to `JSON.parse()` and `JSON.stringify()` adding the ability to parse and stringify a `Buffer` object automatically recursively.","homepage":"https://github.com/elijahjcobb/better-json#readme","keywords":[],"repository":{"type":"git","url":"git+https://github.com/elijahjcobb/better-json.git"},"author":{"name":"Elijah Cobb","email":"elijah@elijahcobb.com","url":"https://elijahcobb.com/"},"bugs":{"url":"https://github.com/elijahjcobb/better-json/issues"},"license":"MIT","readme":"# better-json\nThis package adds some functionality to `JSON.parse()` and `JSON.stringify()` adding the ability to parse and stringify\na `Buffer` object automatically recursively.\n\n## Example\n```typescript\nimport {BetterJSON} from \"@elijahjcobb/better-json\";\n\nconst obj: { email: string, security: { salt: Buffer, pepper: Buffer } } = {\n    email: \"Elijah\",\n    security: {\n         salt: Buffer.from(\"salt\"),\n         pepper: Buffer.from(\"pepper\")\n    }\n};\n\nconst str: string = BetterJSON.stringify(obj);\nconst obj2: { email: string, security: { salt: Buffer, pepper: Buffer } } = BetterJSON.parse(str);\n\n// obj === obj2\n```\n\n## Documentation\nEverything is completely documented. You can view the\n[declaration files](https://github.com/elijahjcobb/request/better-json/master/dts) or even the\n[source code](https://github.com/elijahjcobb/better-json/tree/master/ts) on GitHub.\n\n## Bugs\nIf you find any bugs please [create an issue on GitHub](https://github.com/elijahjcobb/better-json/issues) or if you\nare old-fashioned email me at [elijah@elijahcobb.com](mailto:elijah@elijahcobb.com).","readmeFilename":"README.md"}