On 13th May 2020, the v1.0 of Deno was officially launched. Deno has been developed by Ryan Dahl who also had a major role in the development of Node.js. Take a look at this video from a few months back in which Ryan Dahl and Kitson Kelly talk about the idea behind the creation of Deno.

Here are some of the basic points of similarity and difference between Deno and Node.js.

  • Deno is built with Rust in the core, unlike Node.js which uses C++.
  • Moreover, Deno supports typeScript out of the box. They don’t need to be compiled to javascript files before using like in Node.js.
  • Both Deno and Node.js uses the V8 javascript runtime.
  • Deno has no file, network, or environment access unless explicitly enabled. Whereas Node.js has access to the local files and network without any extra permissions required which is a security concern.
  • Deno doesn’t use node modules and npm. Packages as directly imported from the URL and cached when the program is run the first time.

#backend #mongodb #oak #deno #nodejs

How to Create a CRUD API in Deno with Oak and MongoDB
6.80 GEEK