{"name":"del-cli","version":"5.1.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"},"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.1.0","meow":"^10.1.3"},"devDependencies":{"ava":"^4.3.1","execa":"^6.1.0","temp-write":"^5.0.0","xo":"^0.56.0"},"gitHead":"7de3b1e46c1e0b8477c8300d37c1f2218ba6b338","bugs":{"url":"https://github.com/sindresorhus/del-cli/issues"},"homepage":"https://github.com/sindresorhus/del-cli#readme","_id":"del-cli@5.1.0","_nodeVersion":"18.16.1","_npmVersion":"9.2.0","dist":{"integrity":"sha512-xwMeh2acluWeccsfzE7VLsG3yTr7nWikbfw+xhMnpRrF15pGSkw+3/vJZWlGoE4I86UiLRNHicmKt4tkIX9Jtg==","shasum":"740eca1c7a9eb13043e68d8a361cf0ff9a18d5c8","tarball":"http://registry-npm.ywwl.com/del-cli/download/del-cli-5.1.0.tgz","fileCount":4,"unpackedSize":4613,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGHq6dFdOBVzBE5MVx+ffyXjlXD60ZhzpyN3aybJ+VoTAiBbYVK3acF1ymxN8Mx60iLxi4/5/jEGCSHiV0KPcyJUBg=="}],"size":2280,"noattachment":false,"key":"/del-cli/-/del-cli-5.1.0.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.1.0_1693478126114_0.5976946907665046"},"_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":1693478126267,"_cnpm_publish_time":1693478126267,"dist-tags":{"latest":"8.0.1"}}