惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

B
Blog
A
About on SuperTechFans
Microsoft Security Blog
Microsoft Security Blog
Y
Y Combinator Blog
罗磊的独立博客
J
Java Code Geeks
人人都是产品经理
人人都是产品经理
MongoDB | Blog
MongoDB | Blog
The GitHub Blog
The GitHub Blog
G
Google Developers Blog
U
Unit 42
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - Franky
Jina AI
Jina AI
F
Fortinet All Blogs
H
Help Net Security
B
Blog RSS Feed
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Last Week in AI
Last Week in AI
博客园 - 司徒正美
云风的 BLOG
云风的 BLOG
M
MIT News - Artificial intelligence
C
Check Point Blog
GbyAI
GbyAI

Deno

Deno 2.8 | Deno Claw Patrol: an open-source security firewall for agents | Deno Fresh 2.3: Zero JS by default, View Transitions, and Temporal support | Deno Deno 2.7: Temporal API, Windows ARM, and npm overrides | Deno Build a dinosaur runner game with Deno, pt. 6 | Deno Build a dinosaur runner game with Deno, pt. 5 | Deno Deno Deploy is Generally Available | Deno Introducing Deno Sandbox | Deno Build a dinosaur runner game with Deno, pt. 4 | Deno Build a dinosaur runner game with Deno, pt. 3 | Deno Build a dinosaur runner game with Deno, pt. 2 | Deno React / Next.js Denial-of-Service Vulnerability: Deno Deploy users protected | Deno Deno 2.6: dx is the new npx | Deno Build a dinosaur runner game with Deno, pt. 1 | Deno React Server Functions / Next.js Vulnerability: Deno Deploy users protected | Deno My highlights from the new Deno Deploy | Deno Deno's Other Open Source Projects | Deno How Deno protects against npm exploits | Deno Help Us Raise $200k to Free JavaScript from Oracle | Deno Deno 2.5: Permissions in the config file | Deno Fresh 2.0 Graduates to Beta, Adds Vite Support | Deno Deno 2.4: deno bundle is back | Deno JavaScript™ Trademark Update | Deno What's coming to JavaScript | Deno A brief history of JavaScript | Deno Reports of Deno's Demise Have Been Greatly Exaggerated | Deno An Update on Fresh | Deno How Plaid migrated 100 services to a new database platform 5x faster with Deno | Deno Deno 2.3: Improved deno compile, local npm packages, and more | Deno Zero-config Debugging with Deno and OpenTelemetry | Deno
Add JSR packages with pnpm and Yarn | Deno
2025-04-25 · via Deno

We’re excited to announce that you can now install JSR packages directly using both pnpm and Yarn!

Not only can you access JSR packages via pnpm and yarn, but you can also install any npm packages with a JSR dependency. This also means that you can also now publish packages to npm that have a JSR dependency.

Yarn and pnpm installation instructions are now on JSR

The pnpm and Yarn installation instructions on each JSR package page now show how to install using the native JSR support in both pnpm and Yarn.
  • install JSR package via pnpm
  • install JSR package via Yarn
  • What’s next

JSR is a modern, open source JavaScript and TypeScript registry. Learn more from its announcement post.

pnpm

Starting with pnpm v10.9, installing JSR packages is natively supported:

pnpm add jsr:<scope>/<pkg_name>


pnpm add jsr:<scope>/<pkg_name>@<range>

This command will automatically add the following entry to your package.json:

{
  "dependencies": {
    "@<scope>/<pkg_name>": "jsr:^0.1.2"
  }
}

Read more about how to use JSR with pnpm in their documentation.

Yarn

Since Yarn v4.9.0, you can install JSR packages with the following command:

yarn add jsr:<scope>/<pkg_name>@<version>


yarn add jsr:<scope>/<pkg_name>@<range>

Like pnpm, this command will automatically update your package.json with an entry to the newly added package:

{
  "dependencies": {
    "@<scope>/<pkg_name>": "jsr:^0.1.2"
  }
}

Read more about how yarn handles JSR in their documentation.

What’s next

These updates not only make JSR packages more accessible to your project, but also unlocks new opportunities for module authors to publish packages with JSR depedencies. We’ll share more about this in a future blog post (but if you’re interested in learning more, come say hi in our Discord).

If you’re interested in staying in the loop with JSR updates, check out our Discord, or follow our Twitter/Bluesky/YouTube. We also hold bi-weekly office hours where we share the roadmap, current challenges, and answer any of your questions about JSR.

🚨 Recent JSR news 🚨