picodel
v1.0.0
Published
Delete files and directories inside the current working directory
Downloads
2
Maintainers
Readme
picodel
Delete files and directories inside the current working directory
- Zero dependencies
- Only static paths, no glob patterns
- ESM and async only
Install
npm install --save-dev picodel
Usage
CLI
Syntax:
picodel [...paths]
Example CLI prompt:
npx picodel .cache public
Example npm script:
{
"scripts": {
"clean": "picodel .cache public"
}
}
Module
Syntax:
picodel(...string[])
Example:
import picodel from 'picodel';
await picodel('.cache', 'public');