Simple node module to remove files and folders recursively.
DEPRECATED: See @fcostarodrigo/nuke
npm install rfc-nuke
const nuke = require("rfc-nuke");
nuke("path/to/remove").then(() => console.log("Files removed"));
function nuke(pathToDelete: string): Promise<void>;
Removes files and folders recursively.
pathToDelete
: Path with folder or file to delete.
Full tests with coverage
npm test
Unit tests and watch for changes
npm run unit-test