# rfc-nuke

> Remove files and folders recursively

Latest version **2.0.2** (published 2020-05-23) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install rfc-nuke
pnpm add rfc-nuke
yarn add rfc-nuke
bun add rfc-nuke
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 2.0.2 |
| Published | 2020-05-23 |
| First published | 2017-02-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 5.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Rodrigo Fernandes da Costa |
| Maintainers | fcostarodrigo |
| Keywords | remove, files, recursively, rm -rf |

## Links

- npm: https://www.npmjs.com/package/rfc-nuke
- Repository: https://github.com/fcostarodrigo/rfc-nuke
- Homepage: https://github.com/fcostarodrigo/rfc-nuke#readme
- Issues: https://github.com/fcostarodrigo/rfc-nuke/issues
- npm.io page: https://npm.io/package/rfc-nuke

## Dependencies (1)

- [rfc-walk](https://npm.io/package/rfc-walk.md) ^3.0.4

## Alternatives

- [unionfs](https://npm.io/package/unionfs.md) — 2.2M weekly downloads
- [path-starts-with](https://npm.io/package/path-starts-with.md) — 35.9K weekly downloads
- [redzip](https://npm.io/package/redzip.md) — 1.2K weekly downloads
- [vscode-anymatch](https://npm.io/package/vscode-anymatch.md) — 848 weekly downloads
- [@ledgerhq/coin-filecoin](https://npm.io/package/@ledgerhq/coin-filecoin.md) — 793 weekly downloads

## Recent versions

- 2.0.2 (latest) — 2020-05-23
- 2.0.3 — 2019-08-03
- 2.0.1 — 2018-04-29
- 2.0.0 — 2017-12-25
- 1.0.4 — 2017-03-26
- 1.0.3 — 2017-02-12
- 1.0.2 — 2017-02-12
- 1.0.1 — 2017-02-12
- 1.0.0 — 2017-02-12

## README

# RFC-NUKE

[![Build Status](https://travis-ci.org/fcostarodrigo/rfc-nuke.svg?branch=master)](https://travis-ci.org/fcostarodrigo/rfc-nuke)

Simple node module to remove files and folders recursively.

DEPRECATED: See [@fcostarodrigo/nuke](https://www.npmjs.com/package/@fcostarodrigo/nuke)

## Installation

```bash
npm install rfc-nuke
```

## Usage

```javascript
const nuke = require("rfc-nuke");

nuke("path/to/remove").then(() => console.log("Files removed"));
```

## Documentation

```typescript
function nuke(pathToDelete: string): Promise<void>;
```

Removes files and folders recursively.

- `pathToDelete`: Path with folder or file to delete.

## Development

Full tests with coverage

```bash
npm test
```

Unit tests and watch for changes

```bash
npm run unit-test
```

## License

[MIT License](http://www.opensource.org/licenses/mit-license.php)

---
_Source: https://npm.io/package/rfc-nuke · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
