Skip to content

Using Packages

The vis project contains multiple packages, each of which is published to the Allen Institute internal GitHub NPM package registry.

  1. Authenticate with GitHub Packages by following the instructions in the GitHub Packages Authentication documentation.

  2. Create an .npmrc file in the root of your project and add the following so that npm or pnpm knows to use the Allen Institute’s GitHub NPM package registry:

@NAMESPACE:registry=https://npm.pkg.github.com
  1. Run npm install @alleninstitute/<package-name> to install the package.

If any of the previous steps don’t work due to updates in GitHub’s platform, please reference GitHub’s documentation for details and submit a PR updating this documentation.