{"_id":"xdg-trash","_rev":"23-7729671ed0d716fea75fa3817e4be6bc","name":"xdg-trash","description":"Safely move files and directories to trash on Linux","dist-tags":{"latest":"2.0.2"},"versions":{"1.0.0":{"name":"xdg-trash","version":"1.0.0","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.12.0","mv":"^2.0.3","uuid":"^2.0.1"},"devDependencies":{"ava":"^0.0.4"},"gitHead":"4d3d9091d07e296ce5fa22dc1f6512d2d8519809","bugs":{"url":"https://github.com/kevva/xdg-trash/issues"},"homepage":"https://github.com/kevva/xdg-trash","_id":"xdg-trash@1.0.0","_shasum":"b66f00a8eb335113bb5cb6ad55138c2c8e5c5ea4","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"}],"dist":{"shasum":"b66f00a8eb335113bb5cb6ad55138c2c8e5c5ea4","tarball":"https://registry.npmjs.org/xdg-trash/-/xdg-trash-1.0.0.tgz","integrity":"sha512-uaxNVZ2ETHSOADDEmGZLqKFG1J8PrFDD0o1weKkPbe9D3jrVbRSq/K0D2vX0QFo/CgAVQJvFFQSrOvxPAEDLhw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICmEdjPk2Q3vFmMNZK893hWyXL8L9UXZStWipxPQjsyoAiEAw0I29oTwD+KA7QxgfDchZV+3RY+Ib5La0o0/DMlFRPQ="}]},"deprecated":"Deprecated in favor of the `trash` module"},"1.0.1":{"name":"xdg-trash","version":"1.0.1","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.12.0","uuid":"^2.0.1"},"devDependencies":{"ava":"^0.0.4"},"gitHead":"87b888aea721d69a0d4326a79ebf88780a6b907e","bugs":{"url":"https://github.com/kevva/xdg-trash/issues"},"homepage":"https://github.com/kevva/xdg-trash","_id":"xdg-trash@1.0.1","_shasum":"adb9e77e61adb792fce2b379a58fc64936fd2056","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"}],"dist":{"shasum":"adb9e77e61adb792fce2b379a58fc64936fd2056","tarball":"https://registry.npmjs.org/xdg-trash/-/xdg-trash-1.0.1.tgz","integrity":"sha512-4hrWWFb0qbC4409UHowAp/CTHknfyZXPwaAExtgZ4IarzyYnlN0soo4061JOTn07mdf4DBiPCYILY3xVgWj/rQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAQdM/zE/t3HmW61o/OWUJGbpnbyOSIoic/4A9Gr9GAgAiBYNNY6/rfi5GBvsNUcL8LIvC/VFdNumHrWud6sdTQdIQ=="}]},"deprecated":"Deprecated in favor of the `trash` module"},"1.0.2":{"name":"xdg-trash","version":"1.0.2","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.12.0","uuid":"^2.0.1","xdg-trashdir":"^1.0.0"},"devDependencies":{"ava":"^0.0.4"},"gitHead":"fce9bff948186057b1899aaeec5983a72621133a","bugs":{"url":"https://github.com/kevva/xdg-trash/issues"},"homepage":"https://github.com/kevva/xdg-trash","_id":"xdg-trash@1.0.2","_shasum":"06e3bded46775d716e84cb3c1509f1d43cd0b48e","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"}],"dist":{"shasum":"06e3bded46775d716e84cb3c1509f1d43cd0b48e","tarball":"https://registry.npmjs.org/xdg-trash/-/xdg-trash-1.0.2.tgz","integrity":"sha512-6sg6szDIHx/ZmhwpwAJEHrrXqjZwOeNKnUC0b2/i2SjZLv8SQ2iEYpCwCE5X/4XfQdivJvc1iVDCsuIsVASRxQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDhako3mIOQml/2L1PO3u5qQWac+E5V3q7TZMR7yEqdjQIhANOaZPwY3kWbQtpdKk3zFKeg2lXDQtoBylJEUmdRpKnQ"}]},"deprecated":"Deprecated in favor of the `trash` module"},"1.0.3":{"name":"xdg-trash","version":"1.0.3","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.12.0","uuid":"^2.0.1","xdg-trashdir":"^1.0.0"},"devDependencies":{"ava":"^0.0.4"},"gitHead":"c00a5b75609af4f85d97bb3c12879f78ee949606","bugs":{"url":"https://github.com/kevva/xdg-trash/issues"},"homepage":"https://github.com/kevva/xdg-trash","_id":"xdg-trash@1.0.3","_shasum":"f7c5b410bee1974b25713377ba4899e5a0b1202e","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"},{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"f7c5b410bee1974b25713377ba4899e5a0b1202e","tarball":"https://registry.npmjs.org/xdg-trash/-/xdg-trash-1.0.3.tgz","integrity":"sha512-vJPPO37aeSgcyitREgw9KtaT8KR0xCQSL6DvPFCZEHRjapBr55S9Khhp2sRhf7Df8UYORjsmMmP00CUyf4EXnw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD4UkTi4ESuKaTowWwtcdP3gIYkRI+ZZ9NzXJQopqcPAQIhAMAR+1Xlz1y+i4qrDUKAk/69wLM3ysutrnnr/pLlQg8k"}]},"deprecated":"Deprecated in favor of the `trash` module"},"1.0.4":{"name":"xdg-trash","version":"1.0.4","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.12.0","uuid":"^2.0.1","xdg-trashdir":"^1.0.0"},"devDependencies":{"ava":"^0.0.4"},"gitHead":"352632247b02ef23b9f81674a85a5a27da83b07a","bugs":{"url":"https://github.com/kevva/xdg-trash/issues"},"homepage":"https://github.com/kevva/xdg-trash","_id":"xdg-trash@1.0.4","_shasum":"06ffc935272ac6f7994a9c4c1caa766122f84776","_from":".","_npmVersion":"1.4.28","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"},{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"06ffc935272ac6f7994a9c4c1caa766122f84776","tarball":"https://registry.npmjs.org/xdg-trash/-/xdg-trash-1.0.4.tgz","integrity":"sha512-/hkgHgmdjXKlinfHs9JckHiwMHjYdJx+BqBOJ2/TYpw7jxHdZxjwbk7YAdSDymtafGszBtPsC2YIiNManMOyJg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICQ09iN99asn31RKysDrPXcd68bb7y+Lj8A7qYXIyDCnAiAU9UNJDuXB0WtPbgNVzndC9t2RLL/oeK0PP+vG4L7Y7A=="}]},"deprecated":"Deprecated in favor of the `trash` module"},"1.0.5":{"name":"xdg-trash","version":"1.0.5","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.12.0","uuid":"^2.0.1","xdg-trashdir":"^1.0.0"},"devDependencies":{"ava":"^0.0.4"},"gitHead":"683a4465498b11b7fd155b4dc3b805fd539f6eb3","bugs":{"url":"https://github.com/kevva/xdg-trash/issues"},"homepage":"https://github.com/kevva/xdg-trash","_id":"xdg-trash@1.0.5","_shasum":"5473316b2a1ec2e9329fbeb4d767ffe939cc1c82","_from":".","_npmVersion":"2.1.3","_nodeVersion":"0.10.32","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"},{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"5473316b2a1ec2e9329fbeb4d767ffe939cc1c82","tarball":"https://registry.npmjs.org/xdg-trash/-/xdg-trash-1.0.5.tgz","integrity":"sha512-hGZg58mBrfO7AiGcy7qRCO/6U8W/ZwLef6/Zsxr8cT52DsWIbKIMm7SdyX6Ub1zrfRZIWjU8B5FnaS6N2lJDYQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCSWZEECeVbk4OZhTpQE7fEFbnn9tkUs5nZIpvhs+0j8AIhANbxbajMGtSl9fZ7acLnLI7ojVdVDk3gkwHX/FN3hhxc"}]},"deprecated":"Deprecated in favor of the `trash` module"},"1.0.6":{"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":"https://registry.npmjs.org/xdg-trash/-/xdg-trash-1.0.6.tgz","integrity":"sha512-p64F8JR9+uYT7cHNJn+VhuanPiO6qpXOajKkVffCMF+ZfqamEWPmoI608UCi5D31mCwTXGJppxtN0oj103r0/Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBYIltaLjXvgIaNyIexx+ht10zXTSLmKMdwf9fNOUlArAiEA0vMIDHWa3FUNv8Gua4GSrSwGT/4XFRmq7bmRCkYjlMI="}]},"deprecated":"Deprecated in favor of the `trash` module"},"1.1.0":{"name":"xdg-trash","version":"1.1.0","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.18.0","uuid":"^2.0.1","xdg-trashdir":"^1.0.0"},"devDependencies":{"ava":"^0.0.4"},"gitHead":"677c6a33c1f6e20d35ab090b1e085720f6d315aa","bugs":{"url":"https://github.com/kevva/xdg-trash/issues"},"homepage":"https://github.com/kevva/xdg-trash","_id":"xdg-trash@1.1.0","_shasum":"219d24c1417ead112d875131e6cde303cb44c51a","_from":".","_npmVersion":"2.7.1","_nodeVersion":"1.6.2","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"},{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"dist":{"shasum":"219d24c1417ead112d875131e6cde303cb44c51a","tarball":"https://registry.npmjs.org/xdg-trash/-/xdg-trash-1.1.0.tgz","integrity":"sha512-wk9DEbICowePh+hODsYh0VbCN/aMpMmaZHfpqOvLJYXV+8/GEQQvrmcq2ALycAaJOp8/HIQPly4UZo39CmJyuA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCcqfsOT8fOJ5PMWeI8cXQZfFi/CVmsbsAWwZAxPw3ZUgIgZgjWKlYOkE4omLjpu+crlBMuPTNLkbu92CdY9fCk3Ec="}]},"deprecated":"Deprecated in favor of the `trash` module"},"2.0.0":{"name":"xdg-trash","version":"2.0.0","description":"Safely move files and directories to trash on Linux","license":"MIT","repository":{"type":"git","url":"git+https://github.com/kevva/xdg-trash.git"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["delete","dir","file","linux","recycle","trash","xdg"],"dependencies":{"fs-extra":"^0.18.0","pinkie-promise":"^1.0.0","uuid":"^2.0.1","xdg-trashdir":"^2.0.0"},"devDependencies":{"ava":"^0.2.0","path-exists":"^1.0.0","xo":"*"},"xo":{"ignore":["test.js"]},"gitHead":"2ad98a570655631ab4f833dd7c310832c696a776","bugs":{"url":"https://github.com/kevva/xdg-trash/issues"},"homepage":"https://github.com/kevva/xdg-trash#readme","_id":"xdg-trash@2.0.0","_shasum":"024f9adeaeaf34411c016f7a09640fd1b7610bbe","_from":".","_npmVersion":"3.3.3","_nodeVersion":"4.1.0","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"dist":{"shasum":"024f9adeaeaf34411c016f7a09640fd1b7610bbe","tarball":"https://registry.npmjs.org/xdg-trash/-/xdg-trash-2.0.0.tgz","integrity":"sha512-F9ZIvJKd3QlcsJghIb5RQF/mBrazEGZ2j9V0RADdTCLLbunuddIcZkdVDYtDIxxIN34tuHH3vjnRq4fcKCjvHw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCcG4TQbQ67Mev6Am8Ps8qgyLhfgoiCJftFCVD144kasAIhALXvSv57wf2LOMZspylX4xNB3H4FU7HyP/bcXnD/mrsx"}]},"maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"},{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"deprecated":"Deprecated in favor of the `trash` module"},"2.0.1":{"name":"xdg-trash","version":"2.0.1","description":"Safely move files and directories to trash on Linux","license":"MIT","repository":{"type":"git","url":"git+https://github.com/kevva/xdg-trash.git"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"engines":{"node":">=0.10.0"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["delete","dir","file","linux","recycle","trash","xdg"],"dependencies":{"fs-extra":"^0.18.0","pinkie-promise":"^1.0.0","uuid":"^2.0.1","xdg-trashdir":"^2.0.0"},"devDependencies":{"ava":"^0.2.0","path-exists":"^1.0.0","xo":"*"},"xo":{"ignore":["test.js"]},"gitHead":"b3a47e39db9333870c51e4e23e134b0c8f26434e","bugs":{"url":"https://github.com/kevva/xdg-trash/issues"},"homepage":"https://github.com/kevva/xdg-trash#readme","_id":"xdg-trash@2.0.1","_shasum":"4852171484c13e2fd8e9296002b8d93c61288113","_from":".","_npmVersion":"3.3.3","_nodeVersion":"4.1.0","_npmUser":{"name":"kevva","email":"kevinmartensson@gmail.com"},"dist":{"shasum":"4852171484c13e2fd8e9296002b8d93c61288113","tarball":"https://registry.npmjs.org/xdg-trash/-/xdg-trash-2.0.1.tgz","integrity":"sha512-mD6R2wsv05cUT6qpL6EIUi8EHq+NZHqVL62sNcWBpZSKsXH6TMoRLZQzvBwBJxZBajvBDJFgHR9YkYsuw3XS5w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCbqNB9rd0V8Y5G3bqZMA0qkU7mdVGrS5J8VOOvNPwnlQIhAL+Hb5V5SzeDpfuVz4V1l11lzLoeEq/hTkixPwh8OHmy"}]},"maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"},{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"deprecated":"Deprecated in favor of the `trash` module"},"2.0.2":{"name":"xdg-trash","version":"2.0.2","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":"xo && ava"},"files":["index.js"],"keywords":["delete","dir","file","linux","recycle","trash","xdg"],"dependencies":{"fs-extra":"^0.18.0","pify":"^2.2.0","pinkie-promise":"^1.0.0","uuid":"^2.0.1","xdg-trashdir":"^2.0.0"},"devDependencies":{"ava":"^0.2.0","path-exists":"^1.0.0","xo":"*"},"xo":{"ignore":["test.js"]},"gitHead":"d4600340b6d071fd845f317666f52263fe4fbe6c","bugs":{"url":"https://github.com/kevva/xdg-trash/issues"},"homepage":"https://github.com/kevva/xdg-trash","_id":"xdg-trash@2.0.2","_shasum":"5e4cd9df6bd03d414b5de100e207f2dd355fc356","_from":".","_npmVersion":"2.14.4","_nodeVersion":"4.1.1","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"5e4cd9df6bd03d414b5de100e207f2dd355fc356","tarball":"https://registry.npmjs.org/xdg-trash/-/xdg-trash-2.0.2.tgz","integrity":"sha512-WpLsYKTYpUCsahqVRbpHn2bjIR+/gfm4K4rIncFgFlbW+pNtN46ajFKkH0AE7P9MYabmjgc8EiUCrPaJnKe2lg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAbjAWEQpIQpzmGholg3jAXuIqgOH6srAnUlkam4+3TlAiA4s3qCk6/qqt7DPEkeqV9nKmA+w3h8fNvyiFaSolfnOQ=="}]},"maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"},{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"deprecated":"Deprecated in favor of the `trash` module"}},"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","maintainers":[{"name":"kevva","email":"kevinmartensson@gmail.com"},{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"time":{"modified":"2022-06-29T04:59:09.074Z","created":"2014-10-05T16:59:52.584Z","1.0.0":"2014-10-05T16:59:52.584Z","1.0.1":"2014-10-05T23:50:16.078Z","1.0.2":"2014-10-06T20:04:30.572Z","1.0.3":"2014-10-11T07:41:05.528Z","1.0.4":"2014-10-12T17:34:02.405Z","1.0.5":"2014-10-14T17:19:03.211Z","1.0.6":"2015-02-09T14:14:58.275Z","1.1.0":"2015-04-09T17:17:25.130Z","2.0.0":"2015-10-05T15:35:51.988Z","2.0.1":"2015-10-06T08:29:14.273Z","2.0.2":"2015-10-13T07:26:26.427Z"},"homepage":"https://github.com/kevva/xdg-trash","keywords":["delete","dir","file","linux","recycle","trash","xdg"],"repository":{"type":"git","url":"https://github.com/kevva/xdg-trash"},"author":{"name":"Kevin Mårtensson","email":"kevinmartensson@gmail.com","url":"https://github.com/kevva"},"bugs":{"url":"https://github.com/kevva/xdg-trash/issues"},"license":"MIT","readmeFilename":"readme.md","users":{"temasm":true}}