Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.
deepsweetPublic archive

About

🔥 Delete directories and files

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Latest commit

 

History

38 Commits

Folders and files

Repository files navigation

dleet

⚠️ Project has been transferred to NexTools metarepo

npm tests coverage

Delete directories and files. Yet another one of many similar to rm -rf packages. However:

  • no CLI
  • no globs
  • Promise only API
  • Windows errors handling:
    • an attempt to fix EPERM and retry
    • an attempt to wait and retry few times on EBUSY

Requirements

  • Node.js >= 8.6.0

Install

$ yarn add dleet
# or
$ npm install dleet

Usage

import dleet from 'dleet'

dleet('/file/or/directory/path')
  .then(() => console.log('done'))
  .catch(console.error)

About

🔥 Delete directories and files

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages