/ never-odd-or-even / back / node_modules / json-buffer /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[DIR]test/2 years ago -  
[   ]LICENSE8 years ago1.0K 
[TXT]README.md8 years ago658  
[   ]index.js8 years ago1.5K 
[   ]package.json2 years ago1.8K 
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

Apache/2.4.38 (Debian) Server at www.karls.computer Port 80