package
Remove all files/directories below a path recursively
npm install rm-rGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Remove all files in the given path recursively. This is equivilent to the unix command rm -r.
npm install rm-rthen in your app
var rm = require('rm-r')This package contains two implementations sync and async. Both have the same API and test suite but the async version returns results.
rm whatever happens to be at path
rm file or symlink
empty dir and remove it
rm('/path/to/the/thing/you/want/gone')
rm.file('/path/to/a/file')
rm.dir('/path/to/a/dir')Estimated unpacked size across 7 packages.
22.6 kB
Includes dependencies.
3 direct dependencies.