fp => pify(fs.readFile)(fp, 'utf8').then(data => parse(data, fp))
n/a
fp => pify(fs.readFile)(fp, 'utf8').then(data => parse(data, fp))
n/a
fp => parse(fs.readFileSync(fp, 'utf8'), fp)
...
## API
### loadJsonFile(filepath)
Returns a promise for the parsed JSON.
### loadJsonFile.sync(filepath)
Returns the parsed JSON.
## Related
- [write-json-file](https://github.com/sindresorhus/write-json-file) - Stringify and write JSON to a file atomically
...
fp => pify(fs.readFile)(fp, 'utf8').then(data => parse(data, fp))
n/a
fp => parse(fs.readFileSync(fp, 'utf8'), fp)
...
## API
### loadJsonFile(filepath)
Returns a promise for the parsed JSON.
### loadJsonFile.sync(filepath)
Returns the parsed JSON.
## Related
- [write-json-file](https://github.com/sindresorhus/write-json-file) - Stringify and write JSON to a file atomically
...