Snow 1d0b9c5323 增加了node环境 1 maand geleden
..
examples 1d0b9c5323 增加了node环境 1 maand geleden
test 1d0b9c5323 增加了node环境 1 maand geleden
.npmignore 1d0b9c5323 增加了node环境 1 maand geleden
.testem.json 1d0b9c5323 增加了node环境 1 maand geleden
.travis.yml 1d0b9c5323 增加了node环境 1 maand geleden
LICENCE 1d0b9c5323 增加了node环境 1 maand geleden
README.md 1d0b9c5323 增加了node环境 1 maand geleden
index.js 1d0b9c5323 增加了node环境 1 maand geleden
package.json 1d0b9c5323 增加了node环境 1 maand 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