nvx
v1.0.7
Published
Run commands on any specified Node version, or as defined in .travis.yml or circle.yml
Downloads
43
Maintainers
Readme
nvx
Run commands on any specified Node version, or as defined in .travis.yml or circle.yml
Prerequisites
- Only requires
npx
so, >=[email protected]
- Includes
nvx
andnvx-test
CLI commands (alsonvxt
alias fornvx-test
)
Installation
$ npm install nvx --global
CLI Usage
$ nvx --help
Usage
$ nvx [version ...] -- <command>
Examples
# Use versions found in .travis.yml or circle.yml
$ nvx -- npm test
# Specifically use versions: 0.12 and 8
$ nvx 0.12 8 -- npm test
# Not limited to just npm test
$ nvx 8.1.2 -- node ./oicu812.js
## shorthand commands for npm test ##
## nvx-test ##
## nvxt ##
# Run "npm test" using versions found
# in .travis.yml or circle.yml
$ nvx-test
# Specifically use versions: 0.12 and 8
$ nvx-test 0.12 8
License
ISC © Buster Collings