wt

win-trash

Move files to the trash

Showing:

Popularity

Downloads/wk

453

Maintenance

No Maintenance Data Available

Package

Dependencies

2

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Deprecated!
Deprecated in favor of the `trash` module

Readme

win-trash

Move files to the trash using the cmdutils Recycle.exe binary

Install

$ npm install --save win-trash

Usage

const winTrash = require('win-trash');

winTrash(['unicorn.png', 'rainbow.jpg']).then(() => {
    console.log('Successfully moved files to the trash');
});

CLI

$ npm install --global win-trash
$ trash unicorn.png rainbow.png

See trash for a cross-platform trash CLI app.

License

MIT © Sindre Sorhus

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial