goreleaser-action/node_modules/json-buffer
CrazyMax 730e0e9d77
Update node_modules
2019-11-14 23:36:55 +01:00
..
test Initial commit 2019-09-20 22:23:46 +02:00
.npmignore Initial commit 2019-09-20 22:23:46 +02:00
.travis.yml Initial commit 2019-09-20 22:23:46 +02:00
LICENSE Initial commit 2019-09-20 22:23:46 +02:00
README.md Initial commit 2019-09-20 22:23:46 +02:00
index.js Initial commit 2019-09-20 22:23:46 +02:00
package.json Update node_modules 2019-11-14 23:36:55 +01:00

README.md

json-buffer

JSON functions that can convert buffers!

build status

testling badge

JSON mangles buffers by converting to an array... which isn't helpful. json-buffers converts to base64 instead, and deconverts base64 to a buffer.

var JSONB = require('json-buffer')
var Buffer = require('buffer').Buffer

var str = JSONB.stringify(new Buffer('hello there!'))

console.log(JSONB.parse(str)) //GET a BUFFER back

License

MIT