{"name":"json-buffer","description":"JSON parse & stringify that supports binary via bops & base64","version":"3.0.1","homepage":"https://github.com/dominictarr/json-buffer","repository":{"type":"git","url":"git://github.com/dominictarr/json-buffer.git"},"devDependencies":{"tape":"^4.6.3"},"scripts":{"test":"set -e; for t in test/*.js; do node $t; done"},"author":{"name":"Dominic Tarr","email":"dominic.tarr@gmail.com","url":"http://dominictarr.com"},"license":"MIT","testling":{"files":"test/*.js","browsers":["ie/8..latest","firefox/17..latest","firefox/nightly","chrome/22..latest","chrome/canary","opera/12..latest","opera/next","safari/5.1..latest","ipad/6.0..latest","iphone/6.0..latest","android-browser/4.2..latest"]},"gitHead":"39146e89172469d5700f06e6b569574827d77fed","bugs":{"url":"https://github.com/dominictarr/json-buffer/issues"},"_id":"json-buffer@3.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.4","_npmUser":{"name":"dominictarr","email":"dominic.tarr@gmail.com"},"dist":{"integrity":"sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==","shasum":"9338802a30d3b6605fbe0613e094008ca8c05a13","tarball":"http://registry-npm.ywwl.com/json-buffer/download/json-buffer-3.0.1.tgz","fileCount":6,"unpackedSize":5404,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJblr+4CRA9TVsSAnZWagAAILgP/23U6G1NHKcMYs8MI4Vr\nPBSqFuKZvPa8P22K0ke09ylj4Fnkq5nxqgSSogynB3TWm11aH7CJxT60Nsns\nlNMyKuxF/XtfzcyjeicFLqYcXf5boKEiLChCX1llSRB2OnXy0zX2b42RmJ+W\nP1U9VXRvnzHyOBsYQrlD5741dRu8/4KlrWv1m1biVF/q3429NWD5wdtgvlCG\nN56ulFbSJ8Edd73b22Fk9ggNJaABjZXTITqE21f3b3BjmqSWkBvkWIVlMuDP\ngWJdMSC1q308XiaIv4lCW/4mNc2PuBErRD0k52xI3h5QSFEapQ4e9MAKIZDB\npNnhebD8xAgNh/ucCGEn0LgSQW8EmfemrnXM8YLQw8PWAE+ZjZLYmgfEaIK3\nyWWQ2XJlI5CkUf5GQfLxVrcDaHO9TS22Nt8Bnd4eA6swEWrOgakk4H806lJd\n4zuv30TsriZPBPyGQ8CvSSauFpNcSPnVlPzWTsaBVuVF6dWNnlby1dYKilOw\nOtDPWjfI900qvqJxQ8/hro+I/mWht7BzmN8Xf0zGQoC4QbAJU84AhbMeajbS\nGN5YLX5z0oKriDY7syF/f+bgnZvxvp+id00a60z23wu3yo1LQFPjYlyC9uj0\nal0IW2jDhxnzrvzQE6njk5Ln0HOP6HM2mAaS5GRxosP837u8erMovsvBnJQc\nKUb8\r\n=Nhkm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/DCJxWI6Lnq0fSxaLoeLhqJiZt5Yms61i0vRv94oO1gIhAKX9BCTUFVnaA4LmUucPCs5b7qVBUdGrc0ja94pUksKb"}],"size":2618,"noattachment":false,"key":"/json-buffer/-/json-buffer-3.0.1.tgz"},"maintainers":[{"name":"dominictarr","email":"dominic.tarr@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/json-buffer_3.0.1_1536606136167_0.5055444051404696"},"_hasShrinkwrap":false,"readme":"# json-buffer\n\nJSON functions that can convert buffers!\n\n[![build status](https://secure.travis-ci.org/dominictarr/json-buffer.png)](http://travis-ci.org/dominictarr/json-buffer)\n\n[![testling badge](https://ci.testling.com/dominictarr/json-buffer.png)](https://ci.testling.com/dominictarr/json-buffer)\n\nJSON mangles buffers by converting to an array...\nwhich isn't helpful. json-buffers converts to base64 instead,\nand deconverts base64 to a buffer.\n\n``` js\nvar JSONB = require('json-buffer')\nvar Buffer = require('buffer').Buffer\n\nvar str = JSONB.stringify(Buffer.from('hello there!'))\n\nconsole.log(JSONB.parse(str)) //GET a BUFFER back\n```\n\n## License\n\nMIT\n","publish_time":1536606136381,"_cnpm_publish_time":1536606136381,"dist-tags":{"latest":"3.0.1"}}