navigation

Configuring jspm with Github

jspm.io is a frictionless browser package manager. If you haven’t heard about package managers, they are nifty little tools that organize the packages your software is depending on. So instead of downloading the same favourite script package every time you need it, you can configure the project to depend on the script and then stay in sync with the latest version using jspm install.

However, when downloading packages from github, there is a limit as to how many requests you can issue. You’ll quickly get the message github rate limit reached. To fix this do:

Go to github.com, login and click settings

Click Personal access tokens and then Generate new token

Copy the token and start command line inside the project folder

Type jspm registry config github

During the config process, you will be asked to enter the token. Do so, and you’re good to go.