{"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":"http://registry-npm.ywwl.com/osx-trash/download/osx-trash-1.0.0.tgz","integrity":"sha512-rsfUZSwJWVNdKtjSwHvq5ylSZjL7wryRSaNtFbKVOIpor+ZC/dfFLls8usp8ThEGpbI5Y+eepL6KsKUEzoQujw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDbv+dk2GrLSfZzF2FAW+Ikk7B0xhjTPoDaTgw9SlkZNgIgYPBoaSaLWVAPiPl0+Rp3YhYjxBblq5SW4z+srrn9AAM="}],"size":3636,"noattachment":false,"key":"/osx-trash/-/osx-trash-1.0.0.tgz"},"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":1422258767030,"_cnpm_publish_time":1422258767030,"dist-tags":{"latest":"2.0.0"}}