What is Deno?
The Deno is modern and secure runtime for Javascript and Typescript that uses Chrome V8 Javascript engine and Rust programming language. However, Nodejs is runtime for Javascript only.
The Deno was created in 2018 by the original creator of Nodejs Ryan Dahl. Deno was created to overcome the deficiencies in the Nodejs. Ryan has explained all those deficiencies in one conference. Here is the link to the video -> 10 Things I Regret About Node.js - Ryan Dahl - JSConf EU
Why Deno?
Security:
It is one of the huge difference between Deno and Nodejs. Deno is providing additional feature of security to the files. In Deno, files can be given a specific permission or flags like network, read or write in order to access it. However, this feature is not there in the Nodejs.
Simplifying Module System:
There is no need to install the npm packages. We can directly put the link of module or package which we want to import. Similarly there are many simplifications done in the Deno that makes it more easy for programmer to use and develop the project.
The packages are downloaded and cached, so you can use them in offline mode as well.
It uses Typescript compiler:
Deno uses the Typescript compiler and there is Typescript built in. So there is no need of Typescript config file. But that does not mean that you forced to use Typescript. Since the Typescript is the superset of Javascript, you can use Javascript as well.
V8 Snapshots
Deno uses V8 Snapshots to startup the TS compiler quickly. Thus, working with Deno can be much smooth and fast experience for developer to develop any application.