npm.io
2.0.2 • Published 6 years ago

rfc-nuke

Licence
MIT
Version
2.0.2
Deps
1
Size
6 kB
Vulns
0
Weekly
0
Stars
1
DeprecatedThis package is deprecated

RFC-NUKE

Build Status

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

License

MIT License

Keywords