We recently released JSR, the JavaScript Registry. JSR has native support for ESM and TypeScript, NPM interoperability, and compatibility with all JavaScript runtimes.
Compared to deno.land/x
, JSR also offers semver resolution, better automatic documentation generation, and improved performance for TypeScript code.
Don't panic: Although we recommend JSR for a better publishing experience,deno.land/x
will continue to be served at the same address indefinitely.
Adding a module
NOTE: we now recommend publishing Deno modules to JSR instead; see above.
All modules on deno.land/x need to be hosted as public repositories on GitHub.com.
deno.land/x downloads and stores your repository contents every time you create a git tag. We only do this once for every tag. This ensures that the contents we serve for a specific version can never change.
Our service needs to get informed whenever a new tag is created. For this purpose we use GitHub webhooks.
Module name
To get started please type the module name:
Advanced options
There are some more optional settings to set up:
Add the webhookWaiting...
You can now add the webhook to your repository.
- Navigate to the repository you want to add.
- Go to the Settings tab.
- Click on the Webhooks tab.
- Click on the Add webhook button.
- Enter the above URL in the payload URL field.
- Select application/json as the content type.
- Select Let me select individual events.
- Select only the Branch or tag creation event.
- Press Add webhook.