json-try-parse
Try to parse json, or return undefined. I just wrote this too many times so it had to become a module
Install
npm install json-try-parse --save
Example
var tryParse = ; var obj = ; console;// "there"
Try to parse json, or return undefined. I just wrote this too many times so it had to become a module
npm install json-try-parse --save
var tryParse = ; var obj = ; console;// "there"
npm i json-try-parse
93
1.0.0
MIT