@bojangles/exfs

0.0.5 • Public • Published

exfs

A module extends build-in fs module and makes file system manipulation a bit easier.

Install

$ npm i @bojangles/exfs

Usage

async Functions
aMkdir(path); // makes directories and their contents recursively
aCopy(from, to);
aWrite(path, data);
aAppend(path, data);
sync Functions
isFile(path);
isDir(path);
read(file); // path to file
write(file, data); // path to file
ld(dir); // list directories
lf(path, opt); // list files
lfDeep(path, opt); // List files recursively
mkdir(path); // makes directories and their content recursively
rm(path); // removes directories and their content recursively

License

MIT

Package Sidebar

Install

npm i @bojangles/exfs

Weekly Downloads

2

Version

0.0.5

License

MIT

Unpacked Size

13.5 kB

Total Files

12

Last publish

Collaborators

  • bojangles