Gathering detailed insights and metrics for del-cli
Gathering detailed insights and metrics for del-cli
npm install del-cli
Typescript
Module System
Min. Node Version
Node Version
NPM Version
91.9
Supply Chain
76.4
Quality
76.1
Maintenance
100
Vulnerability
99.6
License
JavaScript (100%)
Total Downloads
47,750,612
Last Day
31,306
Last Week
170,207
Last Month
1,243,757
Last Year
14,518,804
317 Stars
46 Commits
20 Forks
8 Watching
1 Branches
9 Contributors
Latest Version
6.0.0
Package Id
del-cli@6.0.0
Unpacked Size
4.54 kB
Size
2.25 kB
File Count
4
NPM Version
10.6.0
Node Version
22.6.0
Publised On
07 Oct 2024
Cumulative downloads
Total Downloads
Last day
-8.3%
31,306
Compared to previous day
Last week
-41.3%
170,207
Compared to previous week
Last month
-16.1%
1,243,757
Compared to previous month
Last year
50.3%
14,518,804
Compared to previous year
Delete files and directories
Useful for use in build scripts and automated things.
Note that this does permanent deletion. See trash-cli
for something safer.
1npm install --global del-cli
$ del --help
Usage
$ del <path|glob> …
Options
--force, -f Allow deleting the current working directory and outside
--dry-run, -d List what would be deleted instead of deleting
--verbose, -v Display the absolute path of files and directories as they are deleted
Examples
$ del unicorn.png rainbow.png
$ del "*.png" "!unicorn.png"
:warning: Windows users: Since
$ del
is already a builtin command on Windows, you need to use$ del-cli
there.
Benefits 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.
Benefits over rm -rf
: Cross-platform, safer by default as it doesn't allow deleting parent directories, and has a dry-run mode.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
security policy file detected
Details
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 7/30 approved changesets -- score normalized to 2
Reason
2 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 1
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-12-30
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More