website/node_modules/safe-json-parse/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

MIT Licenced



JohnCoene/chirp documentation built on May 25, 2021, 6:33 p.m.