is-json-valid
v0.0.3
Published
Tiny module to check if a value is a valid JSON
Downloads
3
Maintainers
Readme
is-json-valid
Determine if a value is a valid JSON
Install
$ npm i --save is-json-valid
Usage
const isJsonValid = require('is-json-valid')
const json = '{...}'
isJsonValid(json) //=> boolean