Adding a module

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.

Select a module name

To get started please select a module name:

The module name must be between 3 and 40 characters and contain only the characters a-z, 0-9 and _.

Advanced options

There are some more optional settings to set up:

Optional. A subdirectory in your repository that the module to be published is located in.

Add the webhook

You can now add the webhook to your repository.

  1. Navigate to the repository you want to add.
  2. Go to the Settings tab.
  3. Click on the Webhooks tab.
  4. Click on the Add webhook button.
  5. Enter the URL https://api.deno.land/webhook/gh/ in the payload URL field.
  6. Select application/json as the content type.
  7. Select Let me select individual events.
  8. Select only the Branch or tag creation event.
  9. Press Add webhook.