JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 13
  • Score
    100M100P100Q48843F
  • License ISC

Run commands on multiple node versions as specified from .travis.yml, circle.yml or arguments; uses npx and is ideal for testing.

Package Exports

  • nvx

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (nvx) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

nvx NPM version Build Status Dependency Status Coverage percentage

Run commands on multiple node versions as specified from .travis.yml, circle.yml or arguments; uses npx and is ideal for testing.

Prerequisites

  • Only requires npx so, >= npm@5.2.0
  • Includes both nvx and nvx-test CLI commands

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 0.12 8 -- node ./oicu812.js


  ## shorthand command for npm test ##
  ##           nvx-test             ##


  # 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