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

deepsweet/dleet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •