{"name":"xdg-trash","version":"1.0.6","description":"Safely move files and directories to trash on Linux","license":"MIT","repository":{"type":"git","url":"https://github.com/kevva/xdg-trash"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"test":"node test.js"},"files":["index.js"],"keywords":["delete","dir","file","linux","recycle","trash","xdg"],"dependencies":{"each-async":"^1.1.0","fs-extra":"^0.16.0","uuid":"^2.0.1","xdg-trashdir":"^1.0.0"},"devDependencies":{"ava":"^0.0.4"},"gitHead":"edab2d0ea732b968b023648af5726a6ee70c22e9","bugs":{"url":"https://github.com/kevva/xdg-trash/issues"},"homepage":"https://github.com/kevva/xdg-trash","_id":"xdg-trash@1.0.6","_shasum":"5d13427235e5155ea518d8e7df614300c460521c","_from":".","_npmVersion":"2.4.1","_nodeVersion":"1.1.0","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"},{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"5d13427235e5155ea518d8e7df614300c460521c","tarball":"http://registry-npm.ywwl.com/xdg-trash/download/xdg-trash-1.0.6.tgz","integrity":"sha512-p64F8JR9+uYT7cHNJn+VhuanPiO6qpXOajKkVffCMF+ZfqamEWPmoI608UCi5D31mCwTXGJppxtN0oj103r0/Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBYIltaLjXvgIaNyIexx+ht10zXTSLmKMdwf9fNOUlArAiEA0vMIDHWa3FUNv8Gua4GSrSwGT/4XFRmq7bmRCkYjlMI="}],"size":2089,"noattachment":false,"key":"/xdg-trash/-/xdg-trash-1.0.6.tgz"},"deprecated":"Deprecated in favor of the `trash` module","directories":{},"readme":"# xdg-trash [![Build Status](http://img.shields.io/travis/kevva/xdg-trash.svg?style=flat)](https://travis-ci.org/kevva/xdg-trash)\n\n> Safely move files and directories to trash on Linux\n\n\n## Install\n\n```\n$ npm install --save xdg-trash\n```\n\n\n## Usage\n\n```js\nconst xdgTrash = require('xdg-trash');\n\nxdgTrash(['foo.txt', 'bar.tar']).then(() => {\n\tconsole.log('Files successfully moved to trash!');\n});\n```\n\n\n## API\n\n### xdgTrash(files)\n\nMove files to trash. Returns a promise that resolves to an array containing the removed files.\n\n#### files\n\n*Required*  \nType: `array`\n\nFiles to be moved to trash.\n\n\n## CLI\n\nSee the [trash](https://github.com/sindresorhus/trash#cli) CLI.\n\n\n## License\n\nMIT © [Kevin Mårtensson](https://github.com/kevva)\n","publish_time":1423491298275,"_cnpm_publish_time":1423491298275,"dist-tags":{"latest":"2.0.2"}}