This package has been deprecated

Author message:

See @fcostarodrigo/nuke

rfc-nuke
TypeScript icon, indicating that this package has built-in type declarations

2.0.2 • Public • Published

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

Package Sidebar

Install

npm i rfc-nuke

Weekly Downloads

1

Version

2.0.2

License

MIT

Unpacked Size

5.95 kB

Total Files

9

Last publish

Collaborators

  • fcostarodrigo