Home

Awesome

then-parse-json npmjs.com The MIT License

Gracefully parse JSON using promises - promisified JSON.parse

code climate standard code style travis build status coverage status dependency status

Install

npm i then-parse-json --save
npm test

Usage

For more use-cases see the tests

var JSONParse = require('then-parse-json')

JSONParse('{"foo":"bar"}')
.then(function (res) {
  console.log(res)
  //=> {foo: 'bar'}
})
.catch(console.error)

Related

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
But before doing anything, please read the CONTRIBUTING.md guidelines.

Charlike Make Reagent new message to charlike freenode #charlike

tunnckoCore.tk keybase tunnckoCore tunnckoCore npm tunnckoCore twitter tunnckoCore github