Installations
npm install fetch-node-website
Developer Guide
Typescript
Yes
Module System
ESM
Min. Node Version
>=18.18.0
Node Version
21.1.0
NPM Version
10.2.1
Score
96.4
Supply Chain
100
Quality
76
Maintenance
100
Vulnerability
100
License
Releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (90.26%)
TypeScript (9.74%)
Developer
ehmicky
Download Statistics
Total Downloads
17,117,236
Last Day
15,486
Last Week
78,321
Last Month
464,097
Last Year
6,246,231
GitHub Statistics
4 Stars
942 Commits
3 Forks
2 Watching
2 Branches
1 Contributors
Bundle Size
34.17 kB
Minified
9.88 kB
Minified + Gzipped
Package Meta Information
Latest Version
9.0.0
Package Id
fetch-node-website@9.0.0
Unpacked Size
21.73 kB
Size
8.16 kB
File Count
8
NPM Version
10.2.1
Node Version
21.1.0
Publised On
28 Oct 2023
Total Downloads
Cumulative downloads
Total Downloads
17,117,236
Last day
-26.9%
15,486
Compared to previous day
Last week
-36.6%
78,321
Compared to previous week
Last month
-6%
464,097
Compared to previous month
Last year
33.8%
6,246,231
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
5
Dev Dependencies
5
Fetch releases on nodejs.org
Download release files available on
https://nodejs.org/dist/
.
Hire me
Please reach out if you're looking for a Node.js API or CLI engineer (11 years of experience). Most recently I have been Netlify Build's and Netlify Plugins' technical lead for 2.5 years. I am available for full-time remote positions.
Example
1import fetchNodeWebsite from 'fetch-node-website'
2
3const stream = await fetchNodeWebsite('v12.8.0/node-v12.8.0-linux-x64.tar.gz')
4
5// Example with options
6const otherStream = await fetchNodeWebsite(
7 'v12.8.0/node-v12.8.0-linux-x64.tar.gz',
8 {
9 progress: true,
10 mirror: 'https://npmmirror.com/mirrors/node',
11 signal: new AbortController().signal,
12 },
13)
Install
1npm install fetch-node-website
This package works in Node.js >=18.18.0.
This is an ES module. It must be loaded using
an import
or import()
statement,
not require()
. If TypeScript is used, it must be configured to
output ES modules,
not CommonJS.
Usage
fetchNodeWebsite(path, options?)
path
: string
options
: object
Returns: Promise<Stream>
options
progress
Type: boolean
Default: false
Show a progress bar.
mirror
Type: string
Default: https://nodejs.org/dist
Base URL. Can be customized (for example https://npmmirror.com/mirrors/node
).
The following environment variables can also be used: NODE_MIRROR
,
NVM_NODEJS_ORG_MIRROR
, N_NODE_MIRROR
or NODIST_NODE_MIRROR
.
signal
Type:
AbortSignal
Cancels the release download when the signal is aborted.
See also
nve
: Run a specific Node.js version (CLI)nvexeca
: Run a specific Node.js version (programmatic)get-node
: Download Node.jspreferred-node-version
: Get the preferred Node.js version of a project or usernode-version-alias
: Resolve Node.js version aliases likelatest
,lts
orerbium
normalize-node-version
: Normalize and validate Node.js versionsall-node-versions
: List all available Node.js versions
Support
For any question, don't hesitate to submit an issue on GitHub.
Everyone is welcome regardless of personal background. We enforce a Code of conduct in order to promote a positive and inclusive environment.
Contributing
This project was made with ❤️. The simplest way to give back is by starring and sharing it online.
If the documentation is unclear or has a typo, please click on the page's Edit
button (pencil icon) and suggest a correction.
If you would like to help us fix a bug or add a new feature, please check our guidelines. Pull requests are welcome!
No vulnerabilities found.
Reason
17 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
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:0
- Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0
Reason
0 existing vulnerabilities detected
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/workflow.yml:1
- Info: no jobLevel write permissions found
Reason
no SAST tool detected
Details
- Warn: no pull requests merged into dev branch
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 'main'
Score
4.7
/10
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 MoreOther packages similar to fetch-node-website
@toruslabs/fetch-node-details
Fetches the node details for torus nodes
@toruslabs/constants
Contains constants for torus and web3auth
@toruslabs/fnd-base
Contains details for sapphire nodes
@allaccessone/fetch-node-details
Fetches the node details from allaccessone nodelist smart contract