eln 13.2.0-8573a45b-80da-4d74-8ccd-b12e709ea1f6
Install from the command line:
Learn more about npm packages
$ npm install @cdd/eln@13.2.0-8573a45b-80da-4d74-8ccd-b12e709ea1f6
Install via package.json:
"@cdd/eln": "13.2.0-8573a45b-80da-4d74-8ccd-b12e709ea1f6"
About this version
To install this package, you need to set up your project to download packages from GitHub Packages. Here is the step-by-step guide:
First, you need to create a personal access token in GitHub.
- Go to your GitHub Settings (click your profile picture in the top right > Settings)
- On the left sidebar, click "Developer Settings"
- Click "Personal access tokens"
- Click "Generate new token"
- Give your token a name, and check the box "read:packages"
- Click "Generate token" at the bottom
NOTE
Be sure to copy the token now. You will not be able to see it again!
Create or modify the .npmrc file in your project root directory (or your home directory, if you want to use it for all your projects). The file should contain the following lines:
registry=https://registry.npmjs.org/
@cdd:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}
Set your environment variable GITHUB_TOKEN to the personal access token you just created. Please note that the environment variable should be set in the environment where npm commands are run.
Unix-based example:
export GITHUB_TOKEN="your-token-goes-here"
Now you are ready to install the package:
npm install @cdd/eln
After installation, you can import the package in your JavaScript (or TypeScript) code:
const ElnEntry = require("@cdd/eln");
Or with ES6 import:
import { someFunction } from "@cdd/eln";
Assets
- eln-13.2.0-8573a45b-80da-4d74-8ccd-b12e709ea1f6.tgz
Download activity
- Total downloads 1
- Last 30 days 1
- Last week 0
- Today 0
Recent versions
View all- 14.5.0-59f865c7-709d-432d-99a6-57db0cda2354
- 14.5.0-4a602b7d-7209-447b-a2c2-9162ad997e1b
- 14.5.0-df2b2fd1-5faf-4100-b7a1-fba986833b9b
- 14.5.0-18fbcfc4-1c38-45a0-971e-1e5a057b0630
- 14.5.0-747ec771-e1b2-41a4-bca5-efe6ec6b4001
- 14.5.0-85313c0c-54ee-4b86-b574-d693947ce8f4
- 14.5.0-51b17fdd-061a-4837-89c8-09ede7de8b5e
- 14.5.0-67ddfc80-a925-48b8-8a7c-711a686af762
- 14.5.0
- 14.4.0