null
as options to readFile()
or writeFile()
(#128)spaces
option.passParsingErrors
option.EOL
override option to writeFile
when using spaces
. #89writeFile
when there was a serialization error & no callback was passed. In previous versions, an empty file would be written; now no file is written.throws
option for readFileSync
; now does not throw filesystem errors when throws
is false
graceful-fs
[#62]throws
when set to true
in readFileSync()
. See: https://github.com/jprichardson/node-jsonfile/pull/33writeFile()
and writeFileSync()
. See: https://github.com/jprichardson/node-jsonfile/issues/28options.spaces
to writeFile()
and writeFileSync()
readFileSync(file, 'utf8')
. See: https://github.com/jprichardson/node-jsonfile/issues/25null
is passed for options. See: https://github.com/jprichardson/node-jsonfile/issues/24\n
to end of file on write. #14options.throws
to readFileSync()
options
to fs.readFile
and fs.readFileSync
. This technically changes behavior, but
changes it according to docs. #12options
param to methods, (seanodell / #4)homepage
field from package.json to remove NPM warning.npmignore
, #14
to 2
to follow Node conventions