{"name":"trash-cli","version":"7.2.0","description":"Move files and folders to the trash","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/trash-cli.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","bin":{"trash":"cli.js"},"engines":{"node":">=20"},"scripts":{"test":"xo && ava"},"keywords":["cli-app","cli","trash","recycle","bin","rm","rmrf","rimraf","remove","delete","del","file","files","directory","directories","folder","folders","xdg"],"dependencies":{"globby":"^14.1.0","meow":"^14.0.0","trash":"^10.1.0"},"devDependencies":{"ava":"^6.4.1","execa":"^9.6.1","path-exists":"^5.0.0","temp-write":"^6.0.1","xo":"^1.2.3"},"gitHead":"ee5b70565263a1027b4027d89cfb281bb71551e4","_id":"trash-cli@7.2.0","bugs":{"url":"https://github.com/sindresorhus/trash-cli/issues"},"homepage":"https://github.com/sindresorhus/trash-cli#readme","_nodeVersion":"25.3.0","_npmVersion":"11.7.0","dist":{"integrity":"sha512-sAYiGGt1/0HdqBxUFZHf6MozeDqLbaQC605gOwjS+ySUw9YqVf9ggpCtiUn6UFXYd50fLol/Im6Jst4FAqhR4w==","shasum":"c7dc82bd1605921af76f7777ce79b9ad3f0a72fa","tarball":"http://registry-npm.ywwl.com/trash-cli/download/trash-cli-7.2.0.tgz","fileCount":4,"unpackedSize":4518,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDZXoMWClwHS8IOuyhHBcYDQuUjlX+RlMi5KJ4ExCNQOQIhAKdPXEjOgx9X0vKTayFCnny77+F0aV0HruYp6VAvnVQl"}],"size":2321,"noattachment":false,"key":"/trash-cli/-/trash-cli-7.2.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/trash-cli_7.2.0_1770009680764_0.7700271398487661"},"_hasShrinkwrap":false,"readme":"# trash-cli\n\n> Move files and folders to the trash\n\nWorks on macOS (10.12+), Linux, and Windows (8+).\n\nIn contrast to [`rm`](http://en.wikipedia.org/wiki/Rm_(Unix)) which is [dangerous](http://docstore.mik.ua/orelly/unix3/upt/ch14_03.htm) and permanently deletes files, this only moves them to the trash, which is much safer and reversible. I would also recommend reading my guide on [safeguarding `rm`](https://github.com/sindresorhus/guides/blob/main/how-not-to-rm-yourself.md#safeguard-rm).\n\nAccepts paths and [glob patterns](https://github.com/sindresorhus/globby#globbing-patterns).\n\n## Install\n\n```sh\nnpm install --global trash-cli\n```\n\n## Usage\n\n```\n$ trash --help\n\n  Usage\n    $ trash <path|glob> […]\n\n  Options\n    --dot          Match dotfiles when using glob patterns (remember to quote the glob)\n    --verbose, -v  Print trashed items\n\n  Examples\n    $ trash unicorn.png rainbow.png\n    $ trash '*.png' '!unicorn.png'\n```\n\n## Tip\n\nAdd `alias rm=trash` to your `.zshrc`/`.bashrc` to reduce typing & safely trash files: `$ rm unicorn.png`.\n\n## [FAQ](https://github.com/sindresorhus/trash#faq)\n\n## Related\n\n- [trash](https://github.com/sindresorhus/trash) - API for this package\n- [empty-trash-cli](https://github.com/sindresorhus/empty-trash-cli) - Empty the trash\n- [del-cli](https://github.com/sindresorhus/del-cli) - Delete files and folders\n","publish_time":1770009680907,"_cnpm_publish_time":1770009680907,"dist-tags":{"latest":"7.2.0"}}