Installations
npm install mac-trash
Developer Guide
Typescript
No
Module System
N/A
Min. Node Version
>=14
Node Version
16.15.0
NPM Version
8.5.5
Score
68.4
Supply Chain
89.4
Quality
75.5
Maintenance
100
Vulnerability
100
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Developer
johansatge
Download Statistics
Total Downloads
1,501
Last Day
1
Last Week
7
Last Month
61
Last Year
446
GitHub Statistics
3 Stars
18 Commits
2 Watching
1 Branches
1 Contributors
Package Meta Information
Latest Version
3.0.0
Package Id
mac-trash@3.0.0
Unpacked Size
8.87 kB
Size
3.77 kB
File Count
6
NPM Version
8.5.5
Node Version
16.15.0
Publised On
12 Feb 2023
Total Downloads
Cumulative downloads
Total Downloads
1,501
Last day
0%
1
Compared to previous day
Last week
-50%
7
Compared to previous week
Last month
96.8%
61
Compared to previous month
Last year
3.5%
446
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Zero-dependency macOS CLI tool to move files to the Trash
Demo
Installation
This module needs Node >=14
.
Install with npm:
1$ npm install mac-trash --global --production
Usage
1$ trash somefile.txt /some/other/file.txt
Options
Show debug information:
1$ trash --verbose /some/file.txt
Show contextual help:
1$ trash --help
Show version:
1$ trash --version
Changelog
This project uses semver.
Version | Date | Notes |
---|---|---|
3.0.0 | 2023-01-12 | Drop Node 12 support |
2.0.0 | 2022-01-08 | Rework deletion method, update deps, update Node support (#1) |
1.0.1 | 2020-11-15 | Fix CLI initialization |
1.0.0 | 2020-11-15 | Initial version |
License
This project is released under the MIT License.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: license.md:0
- Info: FSF or OSI recognized license: MIT License: license.md:0
Reason
7 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92
- Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-4q6p-r6v2-jvc5
- Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55
- Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw
- Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7
Reason
dependency not pinned by hash detected -- score normalized to 2
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/johansatge/mac-trash/test.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/johansatge/mac-trash/test.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/johansatge/mac-trash/test.yml/master?enable=pin
- Info: 0 out of 3 GitHub-owned GitHubAction dependencies pinned
- Info: 1 out of 1 npmCommand dependencies pinned
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/test.yml:1
- Info: no jobLevel write permissions found
Reason
Found 0/12 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 8 are checked with a SAST tool
Score
2.9
/10
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 MoreGathering detailed insights and metrics for mac-trash