Eric Foster 35b96bc934 initial commit 6 лет назад
..
examples initial commit 6 лет назад
test initial commit 6 лет назад
.npmignore initial commit 6 лет назад
.testem.json initial commit 6 лет назад
.travis.yml initial commit 6 лет назад
LICENCE initial commit 6 лет назад
README.md initial commit 6 лет назад
index.js initial commit 6 лет назад
package.json initial commit 6 лет назад

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