{"name":"del-cli","version":"7.0.0","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"],"author":{"url":"https://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"del-cli@7.0.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/del-cli#readme","bugs":{"url":"https://github.com/sindresorhus/del-cli/issues"},"bin":{"del":"cli.js","del-cli":"cli.js"},"dist":{"shasum":"ffb696b3af54e145870c2aee455ed171be3145a8","tarball":"http://registry-npm.ywwl.com/del-cli/download/del-cli-7.0.0.tgz","fileCount":4,"integrity":"sha512-fRl4pWJYu9WFQH8jXdQUYvcD0IMtij9WEc7qmB7xOyJEweNJNuE7iKmqNeoOT1DbBUjtRjxlw8Y63qKBI/NQ1g==","signatures":[{"sig":"MEYCIQDv3wnDgGLkEQerp2VSllblGKlTUcd6nlLt+vLoi/IHuQIhAOlKafVi3+CwN+BOQV2DiBz9rgMubjE0pJrK/hmyId3m","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5096,"size":2471,"noattachment":false,"key":"/del-cli/-/del-cli-7.0.0.tgz"},"type":"module","engines":{"node":">=18"},"funding":"https://github.com/sponsors/sindresorhus","gitHead":"77857ae31a5a4b3beca03e76903cd8abb1cc7665","scripts":{"test":"xo && ava"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/del-cli.git","type":"git"},"_npmVersion":"10.9.2","description":"Delete files and directories - Cross-platform","directories":{},"sideEffects":false,"_nodeVersion":"20.19.5","dependencies":{"del":"^8.0.1","meow":"^14.0.0","presentable-error":"^0.0.1"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^1.2.2","ava":"^6.4.1","execa":"^9.6.0","temp-write":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/del-cli_7.0.0_1758213472319_0.9820796436853294","host":"s3://npm-registry-packages-npm-production"},"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```text\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 (silent if no matches)\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":1758213472483,"_cnpm_publish_time":1758213472483,"dist-tags":{"latest":"8.0.1"}}