json-buffer
JSON parse & stringify that supports binary via bops & base64
Last updated 6 years ago by dominictarr .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install json-buffer 
SYNC missed versions from official npm registry.

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(Buffer.from('hello there!'))

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

License

MIT

Current Tags

  • 3.0.1                                ...           latest (6 years ago)

15 Versions

  • 3.0.1                                ...           6 years ago
  • 3.0.0                                ...           7 years ago
  • 2.0.11                                ...           10 years ago
  • 2.0.10                                ...           10 years ago
  • 2.0.9                                ...           11 years ago
  • 2.0.8                                ...           11 years ago
  • 2.0.7                                ...           11 years ago
  • 2.0.6                                ...           11 years ago
  • 2.0.5                                ...           11 years ago
  • 2.0.4                                ...           11 years ago
  • 2.0.3                                ...           11 years ago
  • 2.0.2                                ...           12 years ago
  • 2.0.1                                ...           12 years ago
  • 2.0.0                                ...           12 years ago
  • 1.0.0                                ...           12 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (1)
Dependents (2)

Copyright 2013 - present © cnpmjs.org | Home |