{"name":"del-cli","version":"4.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.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.0.1"},"devDependencies":{"ava":"^3.15.0","execa":"^5.1.1","temp-write":"^5.0.0","xo":"^0.40.2"},"gitHead":"bbab826d7dcc592beb9b84c2d6b5189c88aea0e5","bugs":{"url":"https://github.com/sindresorhus/del-cli/issues"},"homepage":"https://github.com/sindresorhus/del-cli#readme","_id":"del-cli@4.0.0","_nodeVersion":"12.22.1","_npmVersion":"7.10.0","dist":{"integrity":"sha512-G6FD38YZ28nkI34J+oxiYGbJg/t2hCkUgg9di9311gHZWWe9hY4CphewtU5l3RO1LTYxNMxla2D/we4CbBMHcA==","shasum":"a7b97c823705829ca22d993efcb21368119b55c0","tarball":"http://registry-npm.ywwl.com/del-cli/download/del-cli-4.0.0.tgz","fileCount":4,"unpackedSize":3828,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgyGuPCRA9TVsSAnZWagAAvF0QAJSY62vDmd4hE2eygWtJ\ngOlYRIRX1QCZ+aoVW4RVnkXybv0Gk7Twd53RCR/QYtLD6cOTn5MXQbCuRiGf\nYnUStVxU8hEJyUhtu0yLE9ydoiA6nbYXVDoIPmfwXPf2BgLkIZMhgBHk2xHd\nU+O1PlNUv4doU5SuR70LEoU++j2qxwr/gyVXVkY/ppWZgxP1qANW1+zNSPNb\ns/WkgsO2W6qQ9uZ9m/zw3mqb3C8jY/PuQKnXOdHSVZR+mAAzB1Noze7yWve+\nPM44WGSajxYjgzF3E2oFDdZDIvjveE4cLWbxM6YGRMsMwjkAFL4aM+7iDYli\n64KU+jp1PEzIcf06obll4ofo+a4SlbhRroMe5bnVmqsFJ3f+4rkEaRcT5PRC\nQr13tedvxRtfgnh4AFybSB5JWYhKzgnLbk8h0iLcypTqA8qXHs4nTnsJrwmt\npQAJ4nfFWFqZGNQNvzeplk9fB162RR6m47IChI10LuWY4wT4u4sAGPXGl35H\nsPEpeq02ls0FvPp+ZRhaVxNeruTVbmY1cYJw/KG0nkCSCnb95M32v9Rui/fF\nGtKgzmKxmJeNSgHOQtviBpHztQ8UWYAy3YQXAW66PHtCGG4KJnz1/geg+du0\nmhr9gDWb5CxC/lZid3qnIQDqW0Wu9mKRRKAHog7uIvykEe+ciACPHkAAKjCy\nV+3F\r\n=KD+E\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICiBTquY2NDvql4egpjVgMe3cCT6llurukp/bmZl7XhnAiEA2z2UC/K45M9kO0MwlcUuj6p2ErKIZebi+ZQivUsEA7s="}],"size":2036,"noattachment":false,"key":"/del-cli/-/del-cli-4.0.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_4.0.0_1623747470948_0.5601621768298013"},"_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":1623747471066,"_cnpm_publish_time":1623747471066,"dist-tags":{"latest":"8.0.1"}}