Installations
npm install hasha-cli
Developer Guide
Typescript
No
Module System
ESM
Min. Node Version
>=18
Node Version
18.18.2
NPM Version
9.2.0
Releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Developer
sindresorhus
Download Statistics
Total Downloads
40,959
Last Day
3
Last Week
5
Last Month
114
Last Year
2,059
GitHub Statistics
73 Stars
15 Commits
3 Forks
7 Watching
1 Branches
2 Contributors
Sponsor this package
Package Meta Information
Latest Version
6.0.0
Package Id
hasha-cli@6.0.0
Unpacked Size
3.56 kB
Size
1.88 kB
File Count
4
NPM Version
9.2.0
Node Version
18.18.2
Publised On
11 Nov 2023
Total Downloads
Cumulative downloads
Total Downloads
40,959
Last day
0%
3
Compared to previous day
Last week
-88.4%
5
Compared to previous week
Last month
52%
114
Compared to previous month
Last year
-50%
2,059
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
CLI
Hashing made simple. Get the hash of text or stdin.
Install
1npm install --global hasha-cli
Usage
$ hasha --help
Usage
$ hasha <text>
$ cat <file> | hasha
Options
--algorithm, -a Cipher algorithm: md5,sha1,sha256,sha512 [Default: sha512]
--encoding, -e Output encoding: hex,base64,buffer,binary [Default: hex]
Example
$ hasha unicorn --algorithm=md5
1abcb33beeb811dca15f0ac3e47b88d9
Related
- hasha - API for this module
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
- Info: project has a license file: license:0
- Info: FSF or OSI recognized license: MIT License: license:0
Reason
Found 1/15 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
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/sindresorhus/hasha-cli/main.yml/main?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/sindresorhus/hasha-cli/main.yml/main?enable=pin
- Warn: npmCommand not pinned by hash: .github/workflows/main.yml:21
- Info: 0 out of 2 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 1 npmCommand dependencies pinned
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/main.yml:1
- Info: no jobLevel write permissions found
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 'main'
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
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 1 are checked with a SAST tool
Score
3.4
/10
Last Scanned on 2025-01-06
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