Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgraham committed Nov 20, 2024
1 parent 58ff78f commit c482200
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ Add the script in your HTML file:
Generate a [personal access token](https://github.com/settings/tokens) in your GitHub account with the `read:packages` scope. GitHub requires an auth token to download packages even if they are public.
Add an `.npmrc` file in the same directory as your `package.json` with the lines below. Replace `{NPM_TOKEN}` with the token you generated in the previous step.
Add an `.npmrc` file in the same directory as your `package.json` with the lines below. Replace `${NPM_TOKEN}` with the token you generated in the previous step.
```
registry=https://registry.npmjs.org/
@zigurous:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken={NPM_TOKEN}
//npm.pkg.github.com/:_authToken=${NPM_TOKEN}
```
Install the package using your preferred package manager:
Expand Down

0 comments on commit c482200

Please sign in to comment.