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