Gathering detailed insights and metrics for nodeinstall
Gathering detailed insights and metrics for nodeinstall
Gathering detailed insights and metrics for nodeinstall
Gathering detailed insights and metrics for nodeinstall
nodeinstall-pro
[![NPM version][npm-image]][npm-url] [![build status][travis-image]][travis-url] [![Test coverage][codecov-image]][codecov-url] [![David deps][david-image]][david-url] [![Known Vulnerabilities][snyk-image]][snyk-url] [![npm download][download-image]][down
nodeinstalldemo
demo test
@shxtpost/nodeinstallutil
Utilities for installing NodeJS, messing with the PATH and running package manager things
nodeinstalled
A simple package to check if node is installed
npm install nodeinstall
Typescript
Module System
Min. Node Version
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
83 Stars
31 Commits
15 Forks
18 Watchers
6 Branches
14 Contributors
Updated on Nov 12, 2024
Latest Version
1.2.0
Package Id
nodeinstall@1.2.0
Unpacked Size
25.48 kB
Size
7.92 kB
File Count
13
NPM Version
10.7.0
Node Version
18.20.4
Published on
Nov 12, 2024
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
Another node installer that bundle node with application.
Nodeinstall is not a node version switcher, it will install node locally(in node_modules). Then you can deploy application everywhere without Node installed.
You can start application with npm start
easily, npm will find node from $PWD/node_modules/.bin/node
Nodeinstall let application use the same node version in every environment(local development for production).
1$ npm install nodeinstall -g
Install node to node_modules
1$ nodeinstall 6.0.0 2$ ./node_modules/.bin/node -v
You can use semver range to match the real version
1$ nodeinstall ^6.0.0 2$ ./node_modules/.bin/node -v
You can also use nodeinstall to install Alinode or NSolid
1$ nodeinstall --install-alinode 1.6.0 2$ ./node_modules/.bin/node -p 'process.versions.alinode' 3$ nodeinstall --install-nsolid 1.6.0 4$ ./node_modules/.bin/node -p 'process.versions.nsolid'
You can define version in package.json
1{ 2 "engines": { 3 "install-node": "^18.0.0" 4 } 5}
Also support
If you are in China, you can use --china
flag to speed up.
1const install = require('nodeinstall').install; 2await install({ 3 version: '^18.0.0', 4});
The current directory, default is process.cwd
.
The version that you want to install, it also can be semver range that get the right version automatically.
Version matching is based on distUrl.
The url where to donwload the tarball, You can find all distUrl in config.js.
Use the mirror distUrl in china for speed.
The Map contains the unsafe version and the safe version.
For example, if you install 4.0.0 that is defined in unsafeVersions as an unsafe version, it will install 4.5.0 instead.
const unsafeVersions = {
'>= 1.0.0 < 4.4.4': '4.5.0',
};
Install Node, it's a default options. Ignore when package define matched..
Install Node RC, ignore when package define matched.
Install Alinode, ignore when package define matched.
Install NSolid, ignore when package define matched.
Install Node nightly, always be the latest version, ignore when package define matched.
Please open an issue here.
MIT
popomore | fengmk2 | gemwuu | richardo2016 | brucewar | lceric |
---|
This project follows the git-contributor spec, auto updated at Sat Dec 10 2022 01:18:52 GMT+0800
.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
0 existing vulnerabilities detected
Reason
SAST tool detected but not run on all commits
Details
Reason
Found 10/30 approved changesets -- score normalized to 3
Reason
dependency not pinned by hash detected -- score normalized to 2
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
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
license file not detected
Details
Reason
security policy file not detected
Details
Score
Last Scanned on 2025-07-07
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