Front end of the Slack clone application.
jpsp91 07dd8af64f root page set 6 years ago
..
examples root page set 6 years ago
test root page set 6 years ago
.npmignore root page set 6 years ago
.testem.json root page set 6 years ago
.travis.yml root page set 6 years ago
LICENCE root page set 6 years ago
README.md root page set 6 years ago
index.js root page set 6 years ago
package.json root page set 6 years ago

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