JavaScript packages on your domain.
Use a hostname you own in your dependencies, and point it at your git forge.
What npm, pnpm, yarn, and bun see
"widgets": "git+https://javascript.example.com/org/repo.git"Examples use a repository named org/repo. Replace it with your own repository and required package metadata.
How setup works
Create an account, choose your hostname and forge, prove DNS control with a TXT record, and point the CNAME at javascript.packageurls.com. Wait for the certificate before trying your vanity URL.
Limits to know
npm, pnpm, Yarn, and Bun use a git dependency, not an npm registry alias. The repository must contain package.json. Preserve your package manager's lockfile and choose a commit or tag when reproducibility requires it.
Package URLs does not host a package registry or proxy git content. Your package manager authenticates with your forge. A hostname maps the first owner/repo path segments to the forge; nested GitLab groups are unsupported.