Support added for JSR Upstreams

Cloudsmith has added support for the JavaScript Registry (JSR) Upstreams. The JavaScript Registry is a modern package registry for JavaScript and TypeScript. It works with many runtimes (Node.js, Deno, Bun, browsers, and more) and is backwards compatible with npm. JSR modules can be used with any JavaScript package manager and in any project with a node_modules folder.

JSR doesn’t offer its own private registry functionality, but it can be used as an upstream for existing private npm registries (like Cloudsmith repositories). You can now configure your private Cloudsmith repositories to pull and cache packages directly from JSR (https://npm.jsr.io), enabling the use of JSR-hosted packages within your internal workflows.

To enable a JSR upstream, follow the next steps:

  1. Browse to your desired registry in your workspace: https://app.cloudsmith.com/MY_WORKSPACE/MY_REPOSITORY.
  2. Click the Upstreams tab, click + Add Upstream Proxy, and select npm. In the form:
    1. Name your upstream. For example: JSR-testing.
    2. Update the Proxy URL field with the JSR endpoint https://npm.jsr.io.
    3. Click on + Create Upstream Proxy.

Now you are ready to enjoy all the new packages from JSR with Cloudsmith’s control and security. Reach out to us if you have any questions.

Keep up to date with our monthly product bulletin

By submitting this form, you agree to our privacy policy