Kevin 29b9a0c50c clean && clean html base hace 4 años
..
examples 29b9a0c50c clean && clean html base hace 4 años
test 29b9a0c50c clean && clean html base hace 4 años
.npmignore 29b9a0c50c clean && clean html base hace 4 años
.testem.json 29b9a0c50c clean && clean html base hace 4 años
.travis.yml 29b9a0c50c clean && clean html base hace 4 años
LICENCE 29b9a0c50c clean && clean html base hace 4 años
README.md 29b9a0c50c clean && clean html base hace 4 años
index.js 29b9a0c50c clean && clean html base hace 4 años
package.json 29b9a0c50c clean && clean html base hace 4 años

README.md

safe-json-parse

build status dependency status

Parse JSON safely without throwing

Example

var safeParse = require("safe-json-parse")

safeParse("{}", function (err, json) {
    /* we have json */
})

safeparse("WRONG", function (err) {
    /* we have err! */
})

Installation

npm install safe-json-parse

Contributors

  • Raynos

MIT Licenced