Go Pro Sign Up Login
0 days 0 hrs 0 min 0 sec

Summer Sale

50% off Level Up Pro until you unsubscribe.
Get access to ALL 128 courses on Level Up Tutorials

This is your last chance to get Level Up Pro for $145/year.

or Learn More
Moon Moon

Buy Now and unlock this series




yours forever

Become a Pro and unlock everything




per month


Now we will take a look at Octokit, a collection of GitHub-maintained client libraries for the GitHub API.

mkdir leveluptutorials
cd leveluptutorials/
touch index.js
npm init -y

npm install @octokit/rest


Become a pro to download code and videos


User avatar


about 1 year ago

@Joe Hey Joe, Node injects the env vars at runtime so you only need to get them from process.env

User avatar


about 1 year ago

Hey, just curious how you had access to the environment variable without any setup? Thanks

Want to join the conversation?

Become a Pro member today!