How can I connect my codepen project to javascript library that is on Github?

I’ve never done this before, but I’m trying to connect this to my project:

I was able to make it work in Brackets just by downloading the javascript file, but I am not sure how to connect to it with codepen. I could just copy and past all the code into my codepen project, and this works, but it seems like there must be a better way. I thought it would work the same way as jquery, but when I copy and past this url (which is the raw code) it seems to not be working:

I also tried putting it into the html using , but this didn’t work either.

Am I going about this the wrong way. Is there even a way to do this? Any advice?


Have you tried this CDN-hosted link?

I didn’t try that but that’s good to know about. I discovered that actually this library is already available in codepen, it’s just not in the quick-add menu. I started typing the name, and it came up.