This package has been deprecated

Author message:

Deprecated in favor of the `trash` module

win-trash

2.0.0 • Public • Published

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

Related

See trash for a cross-platform trash CLI app.

License

MIT © Sindre Sorhus

/win-trash/

    Package Sidebar

    Install

    npm i win-trash

    Weekly Downloads

    595

    Version

    2.0.0

    License

    MIT

    Last publish

    Collaborators

    • sindresorhus