Gathering detailed insights and metrics for fetch-from-npm-registry
Gathering detailed insights and metrics for fetch-from-npm-registry
Gathering detailed insights and metrics for fetch-from-npm-registry
Gathering detailed insights and metrics for fetch-from-npm-registry
npm install fetch-from-npm-registry
Typescript
Module System
Min. Node Version
Node Version
NPM Version
TypeScript (99.41%)
JavaScript (0.52%)
Shell (0.05%)
Batchfile (0.02%)
Total Downloads
60,189
Last Day
1
Last Week
31
Last Month
165
Last Year
1,580
30,644 Stars
9,487 Commits
1,061 Forks
143 Watching
264 Branches
309 Contributors
Minified
Minified + Gzipped
Latest Version
4.1.2
Package Id
fetch-from-npm-registry@4.1.2
Size
3.38 kB
NPM Version
6.14.5
Node Version
12.16.3
Publised On
22 Jun 2020
Cumulative downloads
Total Downloads
Last day
0%
1
Compared to previous day
Last week
19.2%
31
Compared to previous week
Last month
3.8%
165
Compared to previous month
Last year
10.3%
1,580
Compared to previous year
2
1
2
A fetch lib specifically for using with the npm registry
1<pnpm|npm|yarn> add fetch-from-npm-registry
1'use strict' 2const createFetcher = require('fetch-from-npm-registry').default 3 4const fetchFromNpmRegistry = createFetcher({userAgent: 'fetch-from-npm-registry'}) 5 6fetchFromNpmRegistry('https://registry.npmjs.org/is-positive') 7 .then(res => res.json()) 8 .then(metadata => console.log(JSON.stringify(metadata.versions['1.0.0'], null, 2))) 9 //> { 10 // "name": "is-positive", 11 // "version": "1.0.0", 12 // "devDependencies": { 13 // "ava": "^0.0.4" 14 // }, 15 // "_hasShrinkwrap": false, 16 // "directories": {}, 17 // "dist": { 18 // "shasum": "88009856b64a2f1eb7d8bb0179418424ae0452cb", 19 // "tarball": "https://registry.npmjs.org/is-positive/-/is-positive-1.0.0.tgz" 20 // }, 21 // "engines": { 22 // "node": ">=0.10.0" 23 // } 24 // }
fetchFromNpmRegistry(url, opts)
MIT © Zoltan Kochan
No vulnerabilities found.
Reason
security policy file detected
Details
Reason
GitHub workflow tokens follow principle of least privilege
Details
Reason
30 commit(s) and 12 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
no binaries found in the repo
Reason
SAST tool detected but not run on all commits
Details
Reason
Found 17/30 approved changesets -- score normalized to 5
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
Project has not signed or included provenance with any releases.
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Reason
114 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-01-27
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