Snow 1d0b9c5323 增加了node环境 1 mēnesi atpakaļ
..
examples 1d0b9c5323 增加了node环境 1 mēnesi atpakaļ
test 1d0b9c5323 增加了node环境 1 mēnesi atpakaļ
.npmignore 1d0b9c5323 增加了node环境 1 mēnesi atpakaļ
.testem.json 1d0b9c5323 增加了node环境 1 mēnesi atpakaļ
.travis.yml 1d0b9c5323 增加了node环境 1 mēnesi atpakaļ
LICENCE 1d0b9c5323 增加了node环境 1 mēnesi atpakaļ
README.md 1d0b9c5323 增加了node环境 1 mēnesi atpakaļ
index.js 1d0b9c5323 增加了node环境 1 mēnesi atpakaļ
package.json 1d0b9c5323 增加了node环境 1 mēnesi atpakaļ

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