{"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":"http://registry-npm.ywwl.com/osx-trash/download/osx-trash-1.0.1.tgz","integrity":"sha512-8iHaApQruPLO/O/4IdIKGpRBVIvTSL0zB8DHU0g/dbfaxTuMRoozY9r/hqD/ExQaMwXujp3RgFJmk2H74CzNfQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC4AG/usN3EN2d439XDP9MOM5LfSuwpwexXg0M7v6UPnAiEA8Q9huv9dcwROwVpoUGkKlqOsRXx2zK0ygS3XWDHAzhc="}],"size":4364,"noattachment":false,"key":"/osx-trash/-/osx-trash-1.0.1.tgz"},"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","publish_time":1438633176026,"_cnpm_publish_time":1438633176026,"dist-tags":{"latest":"2.0.0"}}