{"_id":"win-trash","_rev":"112930","name":"win-trash","description":"Move files to the trash","dist-tags":{"latest":"2.0.0"},"maintainers":[{"name":"sindresorhus","email":""}],"time":{"modified":"2021-06-03T10:45:21.000Z","created":"2015-01-26T08:18:49.124Z","2.0.0":"2015-10-07T16:39:26.645Z","1.0.1":"2015-08-03T20:23:59.357Z","1.0.0":"2015-01-26T08:18:49.124Z"},"users":{"temasm":true,"faraoman":true},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"repository":{"type":"git","url":"https://github.com/sindresorhus/win-trash"},"versions":{"2.0.0":{"name":"win-trash","version":"2.0.0","description":"Move files to the trash","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/win-trash"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"bin":{"trash":"cmdutils/Recycle.exe"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js","cmdutils"],"keywords":["win","win32","windows","trash","recycle","bin","delete","del","remove","rm","file","files"],"dependencies":{"pify":"^2.2.0","pinkie-promise":"^1.0.0"},"devDependencies":{"ava":"*","xo":"*"},"xo":{"ignores":["test/test.js"]},"gitHead":"3254dadc2623e5d7bd34a2d8667a5a9a23c978f9","bugs":{"url":"https://github.com/sindresorhus/win-trash/issues"},"homepage":"https://github.com/sindresorhus/win-trash","_id":"win-trash@2.0.0","_shasum":"d8c9acead1eab31714b84aad6a224eb14d03d1ab","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"d8c9acead1eab31714b84aad6a224eb14d03d1ab","size":22762,"noattachment":false,"key":"/win-trash/-/win-trash-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/win-trash/download/win-trash-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1444235966645,"_cnpm_publish_time":1444235966645,"deprecated":"Deprecated in favor of the `trash` module","_hasShrinkwrap":false},"1.0.1":{"name":"win-trash","version":"1.0.1","description":"Move files to the trash","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/win-trash"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"bin":{"trash":"cmdutils/Recycle.exe"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test/test.js"},"files":["index.js","cmdutils"],"keywords":["cli-app","cli","bin","win","win32","windows","trash","recycle","bin","delete","del","remove","rm","file","files"],"devDependencies":{"ava":"0.0.4"},"gitHead":"92bed0aecdcc95dd3b0436381339f054d6f9037d","bugs":{"url":"https://github.com/sindresorhus/win-trash/issues"},"homepage":"https://github.com/sindresorhus/win-trash","_id":"win-trash@1.0.1","_shasum":"49ce9b9448eebf7ccddd8078d64f29a7bc9fe6c5","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"49ce9b9448eebf7ccddd8078d64f29a7bc9fe6c5","size":22731,"noattachment":false,"key":"/win-trash/-/win-trash-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/win-trash/download/win-trash-1.0.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"publish_time":1438633439357,"_cnpm_publish_time":1438633439357,"deprecated":"Deprecated in favor of the `trash` module","_hasShrinkwrap":false},"1.0.0":{"name":"win-trash","version":"1.0.0","description":"Move files to the trash","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/win-trash"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"bin":{"trash":"cmdutils/Recycle.exe"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test/test.js"},"files":["index.js","cmdutils"],"keywords":["cli-app","cli","bin","win","win32","windows","trash","recycle","bin","delete","del","remove","rm","file","files"],"devDependencies":{"ava":"0.0.4"},"gitHead":"feed1e171581d8eb544f5d313fd231cf44aba158","bugs":{"url":"https://github.com/sindresorhus/win-trash/issues"},"homepage":"https://github.com/sindresorhus/win-trash","_id":"win-trash@1.0.0","_shasum":"1153a7a5e1aa703f4b449458674312de2fa3589c","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":""}],"dist":{"shasum":"1153a7a5e1aa703f4b449458674312de2fa3589c","size":21986,"noattachment":false,"key":"/win-trash/-/win-trash-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/win-trash/download/win-trash-1.0.0.tgz"},"directories":{},"publish_time":1422260329124,"_cnpm_publish_time":1422260329124,"deprecated":"Deprecated in favor of the `trash` module","_hasShrinkwrap":false}},"readme":"# win-trash\n\n> Move files to the trash using the cmdutils [`Recycle.exe`](http://www.maddogsw.com/cmdutils/) binary\n\n\n## Install\n\n```\n$ npm install --save win-trash\n```\n\n\n## Usage\n\n```js\nconst winTrash = require('win-trash');\n\nwinTrash(['unicorn.png', 'rainbow.jpg']).then(() => {\n\tconsole.log('Successfully moved files to the trash');\n});\n```\n\n\n## CLI\n\n```\n$ npm install --global win-trash\n```\n\n```\n$ trash unicorn.png rainbow.png\n```\n\n\n## Related\n\nSee [`trash`](https://github.com/sindresorhus/trash) for a cross-platform trash CLI app.\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n","_attachments":{},"homepage":"https://github.com/sindresorhus/win-trash","bugs":{"url":"https://github.com/sindresorhus/win-trash/issues"},"license":"MIT"}