dleet
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

dleet npm

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)

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i dleet

    Weekly Downloads

    20

    Version

    2.0.1

    License

    MIT

    Unpacked Size

    3.74 kB

    Total Files

    5

    Last publish

    Collaborators

    • fosimus
    • psxcode
    • deepsweet