test-json
1.0.2 • Public • Published test-json
simple utility to function to test if a string is valid JSON or not
var isJSON = require('test-json');
console.log(isJSON('{}'));
console.log(isJSON('{I am not a valid JSON}'));
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 1.0.2
0
Version History
Package Sidebar
Install
Weekly Downloads