@kiwilan/filesystem
v0.0.20
Published
Node module to improve native filesystem with Laravel like helpers.
Downloads
16
Maintainers
Readme
Kiwilan's Node filesystem
Node package built to improve native filesystem with Laravel like helpers.
Installation
npm add @kiwilan/filesystem
Or with pnpm:
pnpm add @kiwilan/filesystem
Usage
const path = FsPath.root("tests/test.md");
const exists = await FsFile.exists(path);
if (exists) {
const content = await FsFile.get(path);
}
Build locally
pnpm package
Add to your project:
{
"dependencies": {
"@kiwilan/filesystem": "file:~/kiwilan-filesystem-*.tgz"
}
}