No description, website, or topics provided.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
Readme.md
example.js
index.js
package.json

Readme.md

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