{"name":"del-cli","version":"6.0.0","description":"Delete files and directories - Cross-platform","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/del-cli.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","bin":{"del-cli":"cli.js","del":"cli.js"},"sideEffects":false,"engines":{"node":">=18"},"scripts":{"test":"xo && ava"},"keywords":["cli-app","cli","delete","del","remove","destroy","trash","unlink","clean","cleaning","cleanup","rm","rmrf","rimraf","rmdir","glob","file","files","folder","directory","fs","filesystem","cross-platform"],"dependencies":{"del":"^8.0.0","meow":"^13.2.0"},"devDependencies":{"ava":"^6.1.3","execa":"^9.4.0","temp-write":"^6.0.0","xo":"^0.59.3"},"_id":"del-cli@6.0.0","gitHead":"f6e4605b03475c6045d08db001e2e001d04af8ba","bugs":{"url":"https://github.com/sindresorhus/del-cli/issues"},"homepage":"https://github.com/sindresorhus/del-cli#readme","_nodeVersion":"22.6.0","_npmVersion":"10.6.0","dist":{"integrity":"sha512-9nitGV2W6KLFyya4qYt4+9AKQFL+c0Ehj5K7V7IwlxTc6RMCfQUGY9E9pLG6e8TQjtwXpuiWIGGZb3mfVxyZkw==","shasum":"7822d0ffd5b73449a506a586d839711485bfb119","tarball":"http://registry-npm.ywwl.com/del-cli/download/del-cli-6.0.0.tgz","fileCount":4,"unpackedSize":4646,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6ohN0mrDAYa3W1zOzKPc2aZ8Y4J5vXy246KwzSwPktQIgCaMnwgpseZTULr9s5JRk82QVEokxdSw8GFOdRnU31B4="}],"size":2309,"noattachment":false,"key":"/del-cli/-/del-cli-6.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/del-cli_6.0.0_1728283375333_0.2324058955080408"},"_hasShrinkwrap":false,"readme":"# del-cli\n\n> Delete files and directories\n\nUseful for use in build scripts and automated things.\n\n*Note that this does permanent deletion. See [`trash-cli`](https://github.com/sindresorhus/trash-cli) for something safer.*\n\n## Install\n\n```sh\nnpm install --global del-cli\n```\n\n## Usage\n\n```\n$ del --help\n\n  Usage\n    $ del <path|glob> …\n\n  Options\n    --force, -f    Allow deleting the current working directory and outside\n    --dry-run, -d  List what would be deleted instead of deleting\n    --verbose, -v  Display the absolute path of files and directories as they are deleted\n\n  Examples\n    $ del unicorn.png rainbow.png\n    $ del \"*.png\" \"!unicorn.png\"\n```\n\n> :warning: **Windows users**: Since `$ del` is already a builtin command on Windows, you need to use `$ del-cli` there.\n\n## Comparison\n\nBenefits over `rimraf` CLI: Supports globbing (even on Windows), safer by default as it doesn't allow deleting parent directories, and has a dry-run mode.\n\nBenefits over `rm -rf`: Cross-platform, safer by default as it doesn't allow deleting parent directories, and has a dry-run mode.\n\n## Related\n\n- [del](https://github.com/sindresorhus/del) - API for this package\n- [trash-cli](https://github.com/sindresorhus/trash-cli) - Move files and directories to the trash\n- [make-dir-cli](https://github.com/sindresorhus/make-dir-cli) - Make directories and their parents if needed\n","publish_time":1728283375492,"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_cnpm_publish_time":1728283375492,"dist-tags":{"latest":"8.0.1"}}