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