3 Installation
Brendan Lane edited this page 2021-01-04 17:13:45 -05:00

Installing

To install the API, create a file in your project root (where your package.json is) called .npmrc and put inside of it:

registry=https://registry.npmjs.org/
@vexico:registry=https://npm.pkg.github.com/vexico

To finish this process, simply authenticate to GitHub's Package Registry by typing this command into the command line:
npm login --scope=@vexico --registry=https://npm.pkg.github.com/ Your username will be your GitHub username. Your password will be a new Personal Access Token that has the permissions to repo, write:packages, delete:packages. This image explains the personal access token
The email can be any email that you own, however, please keep note that the email will be public.

Conclusion

After all of that, you should be able to run npm i @vexico/spookvooperapi to grab the latest version of the API.