{"name":"del-cli","version":"4.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.js","del-cli":"cli.js"},"engines":{"node":">=12.20"},"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":"^6.0.0","meow":"^10.1.0"},"devDependencies":{"ava":"^3.15.0","execa":"^5.1.1","temp-write":"^5.0.0","xo":"^0.41.0"},"gitHead":"1e9d718b5fdbf8d07e1a934ecca3fff192f3d30d","bugs":{"url":"https://github.com/sindresorhus/del-cli/issues"},"homepage":"https://github.com/sindresorhus/del-cli#readme","_id":"del-cli@4.0.1","_nodeVersion":"14.16.1","_npmVersion":"7.10.0","dist":{"integrity":"sha512-KtR/6cBfZkGDAP2NA7z+bP4p1OMob3wjN9mq13+SWvExx6jT9gFWfLgXEeX8J2B47OKeNCq9yTONmtryQ+m+6g==","shasum":"2303ccaa45708ee8c6211568344cf87336abf30a","tarball":"http://registry-npm.ywwl.com/del-cli/download/del-cli-4.0.1.tgz","fileCount":4,"unpackedSize":3832,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg8LsxCRA9TVsSAnZWagAA7WgP/1Zc/kTXmACaZAZrpTsr\nUZ+4WwHXMrnRPHgYQO6EqRNgPLkfkh7pySetrxgxOJeiqven++utB3opHnA/\n0hN5XR4n45kX7ZgTQ2QjQSr7V6Haeaug8ESK+Q5cFrbdRrmOvYnS0t+/WWNx\nCdqLb6pKpZupwSs4TgTwKceotTx4D5j4FU3Oz+n/15FhqlY49isqxI0OqoeC\nDWfdY1H3J4VfzlBAn0pL9PFBkrIFaW7lqbSdJCcCRdi/8FWtg8YLhSnYZ2Av\nNE01L3jForc42mPoSe44JrARi9D6vQRo6hGm5jFs/bQN6n2RZIcgsHjgtQnH\nOkgWz96A3+9x/aVGSkAUj+4oAf386F6ZNTEcOeoVk2CU7v/8sGla4TnZuo3L\nZKinEUoCFJsnysZIxiVLZNT2gcub6VCqX+XzE3qv0oglZRx9Lue+DdM1yqCy\ndL42uIWdaqPdJ6N8eEvogaBy150WSjtxtAhOeEKP88+3xxFxkoDnPtc8YTkD\n9WoH1Pztip9Z8N4fnJ6q4kQOSSv6q/9cfGj2SLemTt8pyjh4Tv9BNlH6X5hZ\nQQhD4cHsfN0qckhNDc0TZpI/z0rpp1aiqXEbor/RK+1bNWwKvF6eQWhBKa0+\nXDXkVYPFUmviMyjpSD1+tpsWL07oxx8Yb4lmGfZIQKCG1oW2UiOI894VTs9I\nqA9w\r\n=1Eri\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCfVtWYkqherO9auDbqd513v5b5JU3Kl3ak7WZHLU3rawIgLtgARjoLKa0MIrw8QeuAVeSJlFqlzOaMpa+DLF3mZeQ="}],"size":2033,"noattachment":false,"key":"/del-cli/-/del-cli-4.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_4.0.1_1626389297300_0.9119436286659088"},"_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":1626389297430,"_cnpm_publish_time":1626389297430,"dist-tags":{"latest":"8.0.1"}}