Deno - Node.js successor (?)
Tags: node, javascript, showdev, beginners
Published: 2020-05-20 13:09:40

---
title: Deno - Node.js successor (?)
published: true
description: Deno is a V8-based and written in Rust & TypeScript scripting environment that a modern programmer needs.
tags: node,javascript,showdev,beginners
canonical_url: https://blog.graphqleditor.com/deno-node-successor/
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/g6cov0n43pd39ldyytls.png
---

A while ago the dev world heard the news that Ryan Dahl, who previously created Node.js, has released a new JavaScript & TypeScript scripting environment.

**[Deno](https://deno.land/)** is based on V8 and written in Rust & TypeScript and it aims to provide a productive and secure scripting environment that a modern programmer needs.

## What's wrong with Node?

> *At times Node is like nails on a chalkboard to me.* - Ryan Dahl 

In 2018 during a JSConf Ryan Dahl gave a keynote speech called *"Design Mistakes in Node"* where he highlighted some of the most disturbing him Node's flaws or, as he called them, *his regrets* like:
- the build system (sticking to GYP)
- removing promises
- node modules
- security flaws i.e. linter having full access to your device & network

and some more. During that talk, he has also shown the world **Deno's prototype**.


![Node modules flaws](https://dev-to-uploads.s3.amazonaws.com/i/li77n7ex2eibarprndpo.png)

## Why Deno?

Deno is an anagram for Node and it aims to do the same job as a Node in a better way. Deno comes with some pretty interesting built-in features & concepts:

- **Secure by default** - utilize the fact that JavaScript is a secure sandbox. Deno has no file, network, or environment access unless explicitly enabled.
- **TypeScript Support** - TypeScript is great & Deno supports TypeScript out of the box.
- **Simplified modules system** - with no attempt to achieve compatibility with Node modules, Deno offers totally different & simplified approach where standard modules are hosted at `deno.land/std` and are distributed via URLs (you can still use third party modules from any location on the web)
- **Single executable** - Deno ships only a single executable with minimal linkage


## Will Deno replace Node.js?

Deno is a new kid on the block. It offers some major improvements to some of the Node weaknesses. Although it rapidly gained a lot of attention **(almost 60K stars on GitHub)**, it's just a 1.0 version and it's defiantly not production-ready yet. Despite its many flaws, Node.js is the widest use & mature JavaScript runtime. There are thousands of hudge, corporate projects running it and they will keep doing so. Deno is  worth keeping your eyes on & if you are interested in its concept and learning more about Deno you should definitely watch Rayan's keynote:
{% youtube M3BM9TB-8yA %}

---

## Speed up your GraphQL API development

[**GraphQL Editor**](https://graphqleditor.com/) is a supportive tool for both advanced **GraphQL users** as well as those taking their first steps with GraphQL APIs. Our all-in-one development environment for GraphQL will help you build, manage & deploy your **GraphQL API** much faster thanks to dozens of built-in micro features. [Try GraphQL Editor for free!](https://graphqleditor.com)

[![GraphQL Editor](https://res.cloudinary.com/practicaldev/image/fetch/s--XhJnT9d1--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://thepracticaldev.s3.amazonaws.com/i/835ac1nun474qfgn1tfi.gif)](https://graphqleditor.com)