Gathering detailed insights and metrics for nve
Gathering detailed insights and metrics for nve
Gathering detailed insights and metrics for nve
Gathering detailed insights and metrics for nve
nve-designsystem
Designsystem for NVE
@norges-vassdrags-og-energidirektorat/nve-vue-components
NVE's standard komponentbibliotek er implementert som web-components. Mer info om dette finner du her: https://designsystem.nve.no/ . Dette prosjektet inneholder komponenter som bygger på NVE sitt designsystem, men som blir ansett som for komplekse til å
@nve-org/vue-components
NVE's standard komponentbibliotek er implementert som web-components. Mer info om dette finner du her: https://designsystem.nve.no/ . Dette prosjektet inneholder komponenter som bygger på NVE sitt designsystem, men som blir ansett som for komplekse til å
nve-stencil
Work in Progress
npm install nve
Typescript
Module System
Min. Node Version
Node Version
NPM Version
65.5
Supply Chain
93
Quality
80.7
Maintenance
100
Vulnerability
97.9
License
JavaScript (100%)
Total Downloads
441,872
Last Day
103
Last Week
6,431
Last Month
33,270
Last Year
198,000
Apache-2.0 License
705 Stars
1,553 Commits
15 Forks
10 Watchers
1 Branches
1 Contributors
Updated on Jun 12, 2025
Latest Version
18.0.3
Package Id
nve@18.0.3
Unpacked Size
43.32 kB
Size
13.78 kB
File Count
19
NPM Version
10.9.2
Node Version
24.1.0
Published on
Jun 03, 2025
Cumulative downloads
Total Downloads
Last Day
-72.4%
103
Compared to previous day
Last Week
-27.4%
6,431
Compared to previous week
Last Month
24.5%
33,270
Compared to previous month
Last Year
40.3%
198,000
Compared to previous year
Run any command on specific Node.js versions.
Unlike nvm exec
it:
curl
)nve
executes a single file or command. It does not change the node
nor
npm
global binaries. To run a specific Node.js version for an entire project
or shell session, please use nvm
,
nvm-windows
,
n
or nvs
instead.
1# Same as `node` but with Node 12 2$ nve 12 node 3Welcome to Node.js v12.22.12. 4Type ".help" for more information. 5> .exit 6 7# Same as `node file.js` but with Node 8 8$ nve 8 node file.js 9 10# Any command can be used 11$ nve 12 npm test 12 13# Execute a local binary 14$ nve 8 ava 15 16# Run a specific version 17$ nve 8.10.0 npm test 18 19# Use a version range 20$ nve "<8" npm test 21 22# Run the latest Node.js version 23$ nve latest npm test 24 25# Run the latest LTS version 26$ nve lts npm test 27 28# Run the Node version from `~/.nvmrc` or the current process version 29$ nve global npm test 30 31# Run the current directory's Node.js version using its `.nvmrc` or `package.json` (`engines.node` field) 32$ nve local npm test 33 34# Run the Node version using a file like `.nvmrc` or `package.json` 35$ nve /path/to/.nvmrc npm test 36 37# Use a different mirror for the Node binaries 38$ nve --mirror=https://npmmirror.com/mirrors/node 8 npm test 39 40# Do not use the cached list of available Node.js versions 41$ nve --fetch 8 npm test 42 43# Always use the cached list of available Node.js versions even if it's more 44# than one hour old 45$ nve --no-fetch 8 npm test 46 47# Use a different CPU architecture for the Node binaries 48$ nve --arch=x32 8 npm test 49 50# Chaining commands 51$ nve 8 npm run build && nve 8 npm test 52 53# Cache Node 8 download 54$ nve 8 node --version
1# Run multiple versions 2$ nve 12,10,8 npm test 3 4 ⬢ Node 12.22.12 5 6 105 tests passed 7 Finished 'test' after 3.8 s 8 9 ⬢ Node 10.24.1 10 11 105 tests passed 12 Finished 'test' after 4.2 s 13 14 ⬢ Node 8.17.0 15 16 105 tests passed 17 Finished 'test' after 4.5 s 18 19# Do not abort on the first version that fails 20$ nve --continue 12,10,8 npm test 21 22# Run all versions in parallel 23$ nve --parallel 12,10,8 npm test 24 25# Cache multiple Node downloads 26$ nve 12,10,8 node --version
1# Prints latest Node.js version 2$ nve latest 320.4.0 4 5# Prints latest Node.js 8 version 6$ nve 8 78.17.0 8 9# Prints latest Node.js 12, 10 and 8 versions 10$ nve 12,10,8 1112.22.12 1210.24.1 138.17.0
1npm install -g nve
node >=18.18.0
must be globally installed. However the command run by nve
can use any Node version (providing it is compatible with it).
To use this programmatically (from Node.js) instead, please check
nvexeca
.
1nve [OPTIONS...] VERSION,... [COMMAND] [ARGS...]
This is exactly the same as:
1COMMAND [ARGS...]
But using a specific Node VERSION
. Several comma-separated VERSION
can be
specified at once.
VERSION
can be:
12
, 12.6.0
or <12
latest
: Latest available Node versionlts
: Latest LTS Node versionglobal
: Global Node version
.nvmrc
or
package.json
(engines.node
field)local
: Current directory's Node version
.nvmrc
,
package.json
(engines.node
field)
or
similar filesglobal
version.nvmrc
,
package.json
(engines.node
field)
or
similar filesCOMMAND
must be compatible with the specific Node VERSION
. For example npm
is only compatible with Node >=6
.
Both global and local binaries can be executed.
Alias: -c
Type: boolean
Default: false
By default, when running multiple Node versions and one of those versions fails, the others are aborted. This option disables this.
Alias: -p
Type: boolean
Default: false
When running multiple Node versions, run all of them at the same time. This is faster. However this does not work if the command:
Type: boolean
Default: true
Whether to show a progress bar while the Node binary is downloading.
Alias: -m
Type: string
Default: https://nodejs.org/dist
Base URL to retrieve Node binaries. Can be overridden (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
.
Alias: -f
Type: boolean
Default: undefined
The list of available Node.js versions is cached for one hour by default. With:
--fetch
: the cache will not be used--no-fetch
: the cache will be used even if it's older than one hourThe default value is undefined
(neither of the above). When no COMMAND
is
specified (only printing the Node.js version), the default value is --fetch
instead.
Alias: -a
Type: string
Default: process.arch
Node.js binary's CPU architecture. This is useful for example when you're on x64 but would like to run Node.js x32.
All the values from
process.arch
are
allowed except mips
and mipsel
.
The first time nve
is run with a new VERSION
, the Node binary is downloaded
under the hood. This initially takes few seconds. However subsequent runs are
almost instantaneous.
COMMAND
can be omitted in order to cache that initial download without
executing any commands.
nve
is meant for one-off command execution. Examples include:
Tools like nvm
,
nvm-windows
,
n
or nvs
are
meant to execute a specific Node.js version for an entire machine, project or
shell session.
nve
can (and probably should) be used alongside those tools.
If your code is using native modules, nve
works providing:
>=8.12.0
(since N-API was not available or
stable before that)Otherwise the following error message is shown:
Error: The module was compiled against a different Node.js version
.
The following benchmarks compare the average time to run
nve
, nvm exec
and
npx node
:
nve: 295ms
nvm exec: 741ms
npx node: 1058ms
nvexeca
: Like nve
but programmatic
(from Node.js)execa
: Process execution for humansget-node
: Download Node.jspreferred-node-version
:
Get the preferred Node.js version of a project or usernode-version-alias
: Resolve
Node.js version aliases like latest
, lts
or erbium
normalize-node-version
:
Normalize and validate Node.js versionsall-node-versions
: List all
available Node.js versionsfetch-node-website
: Fetch
releases on nodejs.orgglobal-cache-dir
: Get the
global cache directoryFor 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.
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!
Thanks go to our wonderful contributors:
ehmicky 💻 🎨 🤔 📖 | Scott Warren 💬 | Charlike Mike Reagent 💬 🤔 | Hongarc 🤔 | Pedro Augusto de Paula Barbosa 🐛 | Adrien Becchis 💻 ⚠️ 🤔 | Eric Cornelissen 🐛 🤔 |
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
11 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 9
Reason
7 existing vulnerabilities detected
Details
Reason
no SAST tool detected
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-06-23
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