https://github.com/busterc/nvx
:trident: Run commands on any specified Node version, or as defined in .travis.yml or circle.yml.
https://github.com/busterc/nvx
circle-ci circle-yml circleci node-version-manager npm-scripts npx nvm testing-tools travis travis-ci travis-yml travisci version-manager
Last synced: 4 months ago
JSON representation
:trident: Run commands on any specified Node version, or as defined in .travis.yml or circle.yml.
- Host: GitHub
- URL: https://github.com/busterc/nvx
- Owner: busterc
- License: isc
- Created: 2018-02-16T20:35:33.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-06-03T08:47:08.000Z (over 5 years ago)
- Last Synced: 2025-06-01T17:08:26.453Z (5 months ago)
- Topics: circle-ci, circle-yml, circleci, node-version-manager, npm-scripts, npx, nvm, testing-tools, travis, travis-ci, travis-yml, travisci, version-manager
- Language: JavaScript
- Homepage:
- Size: 1.98 MB
- Stars: 18
- Watchers: 3
- Forks: 1
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# nvx [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage percentage][coveralls-image]][coveralls-url] [![Greenkeeper badge][greenkeeper-image]][greenkeeper-url]
> Run commands on any specified Node version, or as defined in .travis.yml or circle.yml
## Prerequisites
- Only requires `npx` so, >= `npm@5.2.0`
- Includes `nvx` and `nvx-test` CLI commands (also `nvxt` alias for `nvx-test`)## Installation
```sh
$ npm install nvx --global
```## CLI Usage
```sh
$ nvx --helpUsage
$ nvx [version ...] --
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](https://about.me/buster)
[npm-image]: https://badge.fury.io/js/nvx.svg
[npm-url]: https://npmjs.org/package/nvx
[travis-image]: https://travis-ci.org/busterc/nvx.svg?branch=master
[travis-url]: https://travis-ci.org/busterc/nvx
[daviddm-image]: https://david-dm.org/busterc/nvx.svg?theme=shields.io
[daviddm-url]: https://david-dm.org/busterc/nvx
[coveralls-image]: https://coveralls.io/repos/busterc/nvx/badge.svg
[coveralls-url]: https://coveralls.io/r/busterc/nvx
[greenkeeper-image]: https://badges.greenkeeper.io/busterc/nvx.svg
[greenkeeper-url]: https://greenkeeper.io/