Skip to content
/ rimraf Public

Just a tiny wrapper of `fs.promises.rm` and `fs.rmSync`.

Notifications You must be signed in to change notification settings

hyrious/rimraf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@hyrious/rimraf

Just a tiny wrapper of fs.promises.rm and fs.rmSync.

Requires Node.js >= 14.14.

Usage

npx @hyrious/rimraf node_modules
import rimraf from '@hyrious/rimraf'

await rimraf('node_modules')
rimraf.sync('node_modules')

Alters

  • @zkochan/rimraf
    this repo is almost the same code as zkochan's, except that it is in pure esm.

License

MIT @ hyrious

About

Just a tiny wrapper of `fs.promises.rm` and `fs.rmSync`.

Resources

Stars

Watchers

Forks

Packages

No packages published