Gathering detailed insights and metrics for prepend-http
Gathering detailed insights and metrics for prepend-http
Gathering detailed insights and metrics for prepend-http
Gathering detailed insights and metrics for prepend-http
Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`
npm install prepend-http
Typescript
Module System
Min. Node Version
Node Version
NPM Version
99.4
Supply Chain
79.7
Quality
75.6
Maintenance
100
Vulnerability
100
License
JavaScript (89.02%)
TypeScript (10.98%)
Total Downloads
4,384,623,627
Last Day
538,020
Last Week
6,468,366
Last Month
39,344,888
Last Year
513,091,963
62 Stars
32 Commits
13 Forks
6 Watching
1 Branches
7 Contributors
Latest Version
4.0.0
Package Id
prepend-http@4.0.0
Size
1.94 kB
NPM Version
7.13.0
Node Version
16.2.0
Publised On
09 Aug 2021
Cumulative downloads
Total Downloads
Last day
-68.5%
538,020
Compared to previous day
Last week
-30.1%
6,468,366
Compared to previous week
Last month
-16.2%
39,344,888
Compared to previous month
Last year
-22.7%
513,091,963
Compared to previous year
Prepend
https://
to humanized URLs likesindresorhus.com
andlocalhost
$ npm install prepend-http
1import prependHttp from 'prepend-http'; 2 3prependHttp('sindresorhus.com'); 4//=> 'https://sindresorhus.com' 5 6prependHttp('localhost', {https: false}); 7//=> 'http://localhost' 8 9prependHttp('https://sindresorhus.com'); 10//=> 'https://sindresorhus.com'
Type: string
The URL to prepend https://
to.
Type: object
Type: boolean
Default: true
Prepend https://
instead of http://
.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
security policy file detected
Details
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 5/30 approved changesets -- score normalized to 1
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
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-16
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