1.3.1 • Published 9 years ago

nu-parse v1.3.1

Weekly downloads
7
License
MIT
Repository
github
Last release
9 years ago

nu-parse

Build Status Codecov npm version Dependency Status devDependency Status Known Vulnerabilities

Parse JSON with an optional callback to prevent throwing.

Install

npm install nu-parse

Example

var parse = require('nu-parse');

var parsed = parse('{}');    // parsed = {}
var parsed = parse('throw'); // Throws

parse('{}', function (err, json) {
    // err  = null
    // json = {}
});

parse('throw', function (err, json) {
    // err  = Error
    // json = null
});

License

MIT

1.3.1

9 years ago

1.3.0

9 years ago

1.2.1

9 years ago

1.2.0

9 years ago

1.1.2

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago