@electron-prebuilds-preview/recycle-bin
v0.1.3-prebuild.3
Published
Pure NAPI version of [trash](https://www.npmjs.com/package/trash).
Downloads
4
Readme
recycle-bin
Pure NAPI version of trash.
Install
npm install recycle-bin
Usage
import trash from 'recycle-bin';
await trash(['*.png', '!rainbow.png']);
API
trash(input, options?)
Returns a Promise
.
input
Type: string | string[]
Accepts paths and glob patterns.
options
Type: object
glob
Type: boolean
Default: true
Enable globs when matching file paths.