Eric Foster 35b96bc934 initial commit před 8 roky
..
examples initial commit před 8 roky
test initial commit před 8 roky
.npmignore initial commit před 8 roky
.testem.json initial commit před 8 roky
.travis.yml initial commit před 8 roky
LICENCE initial commit před 8 roky
README.md initial commit před 8 roky
index.js initial commit před 8 roky
package.json initial commit před 8 roky

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