@labset/fs-directory
v1.1.0
Published
utility to work with directories on the file system
Downloads
90
Readme
fs-directory
use it
npm install fs-directory --save
import { listFiles } from "fs-directory";
const filters = {
fileFilter: (entry) => entry.name.endsWith(".js"),
directoryFilter: () => true,
};
const jsFiles = listFiles(process.cwd(), filters);
const allFiles = listFiles(process.cwd());
develop it
environment
build it, test it, and format it
npm run build
npm test
npm run format