@unvented/delete
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

@unvented/delete

Installation

npm i -D @unvented/delete

Usage

Delete a directory.

delete dist
import { deleteFiles } from '@unvented/delete'

await deleteFiles('./dist')

Delete a file.

delete dist/index.js
import { deleteFiles } from '@unvented/delete'

await deleteFiles('./dist/index.js')

Delete multiple files and directories.

delete a/foo.js a/bar.js b c/foo.cjs d/bar.txt
import { deleteFiles } from '@unvented/delete'

await deleteFiles('./a/foo.js', './a/bar.js', './b', './c/foo.js', './d/bar.txt')

Readme

Keywords

none

Package Sidebar

Install

npm i @unvented/delete

Weekly Downloads

0

Version

1.1.1

License

MIT

Unpacked Size

8.41 kB

Total Files

5

Last publish

Collaborators

  • boywithkeyboard