Gathering detailed insights and metrics for registry-url
Gathering detailed insights and metrics for registry-url
Gathering detailed insights and metrics for registry-url
Gathering detailed insights and metrics for registry-url
npm install registry-url
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
53 Stars
48 Commits
15 Forks
8 Watching
1 Branches
11 Contributors
Updated on 16 Feb 2023
JavaScript (93.73%)
TypeScript (6.27%)
Cumulative downloads
Total Downloads
Last day
-10.1%
1,815,022
Compared to previous day
Last week
1.8%
11,001,094
Compared to previous week
Last month
14.9%
44,525,872
Compared to previous month
Last year
-7.5%
456,741,364
Compared to previous year
Get the set npm registry URL
It's usually https://registry.npmjs.org/
, but it's configurable.
Use this if you do anything with the npm registry as users will expect it to use their configured registry.
$ npm install registry-url
1# .npmrc 2registry = 'https://custom-registry.com/'
1import registryUrl from 'registry-url'; 2 3console.log(registryUrl()); 4//=> 'https://custom-registry.com/'
It can also retrieve the registry URL associated with an npm scope.
1# .npmrc 2@myco:registry = 'https://custom-registry.com/'
1import registryUrl from 'registry-url'; 2 3console.log(registryUrl('@myco')); 4//=> 'https://custom-registry.com/'
If the provided scope is not in the user's .npmrc
file, then registry-url
will check for the existence of registry
, or if that's not set, fallback to the default npm registry.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
security policy file detected
Details
Reason
no dangerous workflow patterns detected
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 9/30 approved changesets -- score normalized to 3
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-11-18
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