{"_id":"osx-trash","_rev":"9-8af6ffc8768463e39802fcabcdecca9d","name":"osx-trash","description":"Move files to the trash","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"osx-trash","version":"1.0.0","description":"Move files to the trash","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/node-osx-trash"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"bin":{"trash":"trash"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test/test.js"},"files":["index.js","trash"],"keywords":["cli-app","cli","bin","osx","dark","trash","recycle","bin","delete","del","remove","rm","file","files"],"dependencies":{"escape-string-applescript":"^1.0.0","run-applescript":"^1.0.1"},"devDependencies":{"ava":"0.0.4"},"gitHead":"d42f5b5e7c13fb4673217e1440a8d285ecc0ac6a","bugs":{"url":"https://github.com/sindresorhus/node-osx-trash/issues"},"homepage":"https://github.com/sindresorhus/node-osx-trash","_id":"osx-trash@1.0.0","_shasum":"be846a528b8d98e02a920f788857838d57d601d5","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"be846a528b8d98e02a920f788857838d57d601d5","tarball":"https://registry.npmjs.org/osx-trash/-/osx-trash-1.0.0.tgz","integrity":"sha512-rsfUZSwJWVNdKtjSwHvq5ylSZjL7wryRSaNtFbKVOIpor+ZC/dfFLls8usp8ThEGpbI5Y+eepL6KsKUEzoQujw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDbv+dk2GrLSfZzF2FAW+Ikk7B0xhjTPoDaTgw9SlkZNgIgYPBoaSaLWVAPiPl0+Rp3YhYjxBblq5SW4z+srrn9AAM="}]},"deprecated":"Deprecated in favor of the `trash` module","directories":{}},"1.0.1":{"name":"osx-trash","version":"1.0.1","description":"Move files to the trash","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/node-osx-trash"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"http://sindresorhus.com"},"bin":{"trash":"trash"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test/test.js"},"files":["index.js","trash"],"keywords":["cli-app","cli","bin","osx","trash","recycle","bin","delete","del","remove","rm","file","files"],"dependencies":{"escape-string-applescript":"^1.0.0","run-applescript":"^1.0.1"},"devDependencies":{"ava":"0.0.4","path-exists":"^1.0.0"},"gitHead":"59052698874c99bb49e39c9ca8d0a920db61e34e","bugs":{"url":"https://github.com/sindresorhus/node-osx-trash/issues"},"homepage":"https://github.com/sindresorhus/node-osx-trash","_id":"osx-trash@1.0.1","_shasum":"021730adb81a8800696d950515863e615a8f71ad","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"021730adb81a8800696d950515863e615a8f71ad","tarball":"https://registry.npmjs.org/osx-trash/-/osx-trash-1.0.1.tgz","integrity":"sha512-8iHaApQruPLO/O/4IdIKGpRBVIvTSL0zB8DHU0g/dbfaxTuMRoozY9r/hqD/ExQaMwXujp3RgFJmk2H74CzNfQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC4AG/usN3EN2d439XDP9MOM5LfSuwpwexXg0M7v6UPnAiEA8Q9huv9dcwROwVpoUGkKlqOsRXx2zK0ygS3XWDHAzhc="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"deprecated":"Deprecated in favor of the `trash` module","directories":{}},"2.0.0":{"name":"osx-trash","version":"2.0.0","description":"Move files to the trash","license":"MIT","repository":{"type":"git","url":"https://github.com/sindresorhus/node-osx-trash"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"bin":{"trash":"trash"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js","trash"],"keywords":["osx","trash","recycle","bin","delete","del","remove","rm","file","files"],"dependencies":{"escape-string-applescript":"^1.0.0","pify":"^2.2.0","pinkie-promise":"^1.0.0","run-applescript":"^2.0.0"},"devDependencies":{"ava":"*","path-exists":"^2.0.0","xo":"*"},"xo":{"ignores":["test.js"]},"gitHead":"eb04df32d595f6a88817373f0dfd30654e707da7","bugs":{"url":"https://github.com/sindresorhus/node-osx-trash/issues"},"homepage":"https://github.com/sindresorhus/node-osx-trash","_id":"osx-trash@2.0.0","_shasum":"200caa2d763b5b30884a487b0c36ff210b65531f","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"200caa2d763b5b30884a487b0c36ff210b65531f","tarball":"https://registry.npmjs.org/osx-trash/-/osx-trash-2.0.0.tgz","integrity":"sha512-co+kdlP2WbAO/MTyiMMFBQtODSZTsSZR6ZdFxfDcg1e3WJfW6VinXb4VP55HJkumcKA849krHddy4ugI8EfqQw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3VuJcuC9UrQOugcf5oawCWKaUQGFgcFY4r9j6S0TCpwIgSbFH+/x7i4tOEjTziBaexgZ4g18CYNsdS4mchglcOKw="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"deprecated":"Deprecated in favor of the `trash` module","directories":{}}},"readme":"# node-osx-trash [![Build Status](https://travis-ci.org/sindresorhus/node-osx-trash.svg?branch=master)](https://travis-ci.org/sindresorhus/node-osx-trash)\n\n> Move files to the trash using the [`osx-trash`](https://github.com/sindresorhus/osx-trash) binary\n\n\n## Install\n\n```\n$ npm install --save osx-trash\n```\n\n\n## Usage\n\n```js\nconst osxTrash = require('osx-trash');\n\nosxTrash(['unicorn.png', 'rainbow.jpg']).then(() => {\n\tconsole.log('Successfully moved files to the trash');\n});\n```\n\nSupports any OS X version. On OS X 10.7 or lower it will fall back to AppleScript which makes a sound when trashing.\n\n\n## CLI\n\n```\n$ npm install --global osx-trash\n```\n\n```\n$ trash unicorn.png rainbow.png\n```\n\nRequires OS X 10.8 or higher.\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","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"time":{"modified":"2023-06-16T22:39:33.224Z","created":"2015-01-26T07:52:47.030Z","1.0.0":"2015-01-26T07:52:47.030Z","1.0.1":"2015-08-03T20:19:36.026Z","2.0.0":"2015-10-07T16:23:06.337Z"},"homepage":"https://github.com/sindresorhus/node-osx-trash","keywords":["osx","trash","recycle","bin","delete","del","remove","rm","file","files"],"repository":{"type":"git","url":"https://github.com/sindresorhus/node-osx-trash"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"bugs":{"url":"https://github.com/sindresorhus/node-osx-trash/issues"},"license":"MIT","readmeFilename":"readme.md","users":{"faraoman":true,"flumpus-dev":true}}