Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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

Something went wrong with that request. Please try again.