Skip to content

sirrodgepodge/test-json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

test-json

simple utility to function to test if a string is valid JSON or not

var isJSON = require('test-json');

console.log(isJSON('{}')); // => true
console.log(isJSON('{I am not a valid JSON}')); // => false

NPM

About

simple utility to function to test if a string is valid JSON or not

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published