@adequaat/local-io
v1.1.2
Published
Super simple util lib for file and folder copying, reading, writing, removing and creating.
Downloads
6
Readme
local-io
Super simple util lib for text based files and folder copying, reading, writing, removing and creating.
All functions return promises.
Available functions as named exports:
- append (path, content, options = encoding)
- read (path)
- write (path, content, options = encoding)
- copy (fromPath, toPath)
- remove (path)
- makeDir(path)
- removeDir (path)