1.0.1 • Published 8 years ago
json-read-and-parse-file v1.0.1
json-read-and-parse-file
Reads and parses a JSON file. If the file cannot be read or parsed as a valid JSON file, the method returns "".
Usage
var jsonReader = require("json-read-and-parse-file");
var data = jsonReader("file.json")
console.log(data);