Eric Foster 35b96bc934 initial commit 6 jaren geleden
..
examples initial commit 6 jaren geleden
test initial commit 6 jaren geleden
.npmignore initial commit 6 jaren geleden
.testem.json initial commit 6 jaren geleden
.travis.yml initial commit 6 jaren geleden
LICENCE initial commit 6 jaren geleden
README.md initial commit 6 jaren geleden
index.js initial commit 6 jaren geleden
package.json initial commit 6 jaren geleden

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