json-body

0.0.0 • Public • Published

JSON Body

Concat stream and parse JSON

Example

var fs = require('fs')
  , jsonBody = require('./')
 
var stream = fs.createReadStream(__dirname + '/package.json')
 
jsonBody(stream, function (err, body, stream) {
  if (err) throw err
  console.log(body)
})
list.pipe(process.stdout)

Install

$ npm install json-body

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i json-body

Weekly Downloads

1

Version

0.0.0

License

MIT

Last publish

Collaborators

  • tellnes