UNPKG

tryjson

Version:

Try to parse a string as JSON and return undefined on failure

43 lines (42 loc) 892 B
{ "name": "tryjson", "version": "1.1.4", "description": "Try to parse a string as JSON and return undefined on failure", "main": "index.js", "scripts": { "test": "node test.js" }, "repository": { "type": "git", "url": "git+https://github.com/rsp/node-tryjson.git" }, "keywords": [ "invalid", "circular", "json", "parse", "stringify", "serialize", "parsing", "serialization", "stringification", "try", "catch", "try/catch", "exception", "exceptions", "throw", "null", "undefined" ], "author": "Rafał Pocztarski <r.pocztarski@gmail.com> (https://rsp.github.io/)", "license": "MIT", "bugs": { "url": "https://github.com/rsp/node-tryjson/issues" }, "homepage": "https://github.com/rsp/node-tryjson#readme", "devDependencies": { "covert": "^1.1.0", "tape": "^4.6.2" } }