Reads JSON and JSON5 from a file. Returns null if file does not exist (or is a directory) instead of throwing an Error.
json
utility
library
filesystem
promise
fs
loader
file
lib
util
json-parser
json5
read-file
load-file
json5-parser
-
Updated
Jul 27, 2022 - JavaScript