- [feature]
read
now accepts options, withbinary
property to read as aBuffer
.
- [feature]
writeJSON
,readJSON
- [feature]
exists
,assertExists
,assertDoesNotExist
- [feature]
clone
with regular expressions transforms - [feature] update
makePromise
- [feature]
breaking
The package now exports an object with functions, and
wrote
function to create an open writable stream is renamed tocreateWritable
.
- [chore] update code to es2017
- [feature] write es8, compile to es5
- [feature]
readDirStructure
to return object representing a directory.
- [bufgix] install
catchment
as dependency forread
.
- [feature]
write.readDir
: read directory as an object (possibly recursively)
- [feature]
write.read
: read whole file
- [feature]
write.ensurePath
: make sure all directories in the path exist
- [feature]
wrote.write
: write to the stream and return a promise resolved when the stream finishes.
- [feature]
wrote.erase
: remove file and close write stream
Initial release