{"name":"del-cli","version":"5.0.1","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"},"engines":{"node":">=14.16"},"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":"^7.0.0","meow":"^10.1.3"},"devDependencies":{"ava":"^4.3.1","execa":"^6.1.0","temp-write":"^5.0.0","xo":"^0.50.0"},"gitHead":"e3f699652ce8e11382e77f79a62714a3cbdf2976","bugs":{"url":"https://github.com/sindresorhus/del-cli/issues"},"homepage":"https://github.com/sindresorhus/del-cli#readme","_id":"del-cli@5.0.1","_nodeVersion":"16.20.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-hCDHJd0u0jKFqizgInYXZaILsqOIA7Zl6e7M3hJwP+SlwUAgtV/EB22EPF4e2+9VAVnBDQQBE6tDRe+/UuoFhg==","shasum":"763750ed5f083ede34a220fcc6cd549e53b5b9a7","tarball":"http://registry-npm.ywwl.com/del-cli/download/del-cli-5.0.1.tgz","fileCount":4,"unpackedSize":4160,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIECZIz1s8r4u5j0KHd3Meg+MIYJ5W99x6XBnrigvi8ItAiBHz9Zl9XvJzZ3bQNKZlf+MwKjscjAYtC/PNUjgVp1yrw=="}],"size":2144,"noattachment":false,"key":"/del-cli/-/del-cli-5.0.1.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/del-cli_5.0.1_1692959908852_0.061338821632504814"},"_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 module\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":1692959909018,"_cnpm_publish_time":1692959909018,"dist-tags":{"latest":"8.0.1"}}