node-rmrf
v1.0.4
Published
The rm -rf command implementation for node.
Downloads
162
Maintainers
Readme
node-rmrf
The rm -rf command implementation for node.
Installation
npm install node-rmrf
Usage
import { rmrfSync } from 'node-rmrf'
// or
import { createRequire } from 'node:module'
const require = createRequire(import.meta.url)
const { rmrfSync } = require('node-rmrf')
Command Line Interface
node-rmrf version 1.0.0
Usage: node-rmrf <path> [<path> ...]
Deletes all files and folders at "path", recursively.
Options:
-- Treat all subsequent arguments as paths
-h --help Usage information
--version The version of node-rmrf