Big Changes Ahead for Deno
Ryan Dahl, Alon Bonder
- We’ve been working on some updates that will allow Deno to easily import npm packages and make the vast majority of npm packages work in Deno within the next three months.
- Given the extensive use of Deno by developers at large companies and founders, we’ll be launching office hours for those of you employing Deno in a commercial setting. Please apply here.
- Deno recently passed 4.1m downloads on GitHub with 250k monthly active users.
First of all, we want to say thank you to all users of Deno who have helped the software grow over these past few years. Every day there are thousands of developers working with Deno, creating new capabilities and providing feedback to make Deno even better. This is one of the core elements that makes Deno special – especially when combined with a full-time staff that’s dedicated to listening and iterating quickly in response.
In this post we will share the learnings from our recent survey and more generally the feedback across our community. We’ll discuss how we’re addressing this feedback and the features to expect from Deno in the coming months.
Compatibility with Node and npm
Maybe not too surprisingly, Deno users have been a bit split on the best level of compatibility with Node. A large number of you have called out how refreshing it is to get away from all the pain of Node – from the antiquated and non-standard APIs to the odd module loading heuristics. We hear you, and these were some of the main reasons that our team created Deno in the first place.
The way this will work is with special npm URLs. It’s best explained with an example:
import express from "npm:express@5";
Within the next three months, most npm modules can be pulled in as a dependency
like this. There will be no
node_modules folder, no
npm install; the
packages will be automatically downloaded in the Deno cache. All the Deno
tooling will work with this, from type checking, to the LSP, to
Supporting our enterprise users
Nearly half of active Deno users in our recent survey said they used Deno for work, including developers at large companies and founders building something new. We’d love to hear more about what you’re working on and to see how we can better support you. Going forward, we will launch free office hours for those of you employing Deno in a commercial setting. Since we’re still a pretty small crew, we just ask that you fill out THIS FORM to help us select folks to start with. We’ll prioritize based on project size and urgency.
The smoothest developer experience
A large and growing ecosystem