...

/

Publishing a Package to Deno's Official Registry

Publishing a Package to Deno's Official Registry

Learn how to create a module on Deno's repository and get it published.

We'll cover the following...

Open source is, at its core, made of people and companies that use free software and have the desire to give back. When we create a piece of code that we think is interesting enough, we most likely want to share it. This is not only a way of helping other people but also a way to improve your own code.

Open source and this culture of sharing is what made Deno, Node.js, and many other technologies we use a reality. Since this course is all about Deno, it wouldn’t make sense to finish it without going over this topic.

Deno has an official module registry that we’ve used before. This is a place where anyone with a GitHub account can share their own modules with the community, and it provides automation and caching mechanisms to keep different versions of modules.

What we’re going to do next is publish a module of our own to this same registry.

We’ll use a piece of software that, until now, we made available via the direct link to GitHub. This works, but it has neither clear versioning nor any type of cache, making it unusable if the code is ...