UNPKG

try-json-parse

Version:

Doesn't throw an error when JSON.parse() fails, just returns undefined

25 lines (24 loc) 611 B
{ "name": "try-json-parse", "version": "1.0.0", "description": "Doesn't throw an error when JSON.parse() fails, just returns undefined", "main": "index.js", "scripts": { "test": "node test.js" }, "repository": { "type": "git", "url": "https://github.com/alessioalex/try-json-parse" }, "keywords": [ "err", "custom", "custom-error", "customerror" ], "author": "Alexandru Vladutu <alexandru.vladutu@gmail.com> (http://careers.stackoverflow.com/alessioalex)", "license": "MIT", "bugs": { "url": "https://github.com/alessioalex/try-json-parse/issues" } }