Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

dleet

1.0.0 • Public • Published

dleet

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

Install

$ yarn add dleet

Usage

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

Install

npm i dleet

DownloadsWeekly Downloads

365

Version

1.0.0

License

MIT

Unpacked Size

3.85 kB

Total Files

7

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar