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

1.0.0 • Public • Published

picodel

NPM

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');

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i picodel

      Weekly Downloads

      2

      Version

      1.0.0

      License

      ISC

      Unpacked Size

      3.3 kB

      Total Files

      7

      Last publish

      Collaborators

      • valtlai