Deno is a secure runtime for both JavaScript and Typescript.

How is deno like nodejs? Very much like nodejs for those who have used before, Deno can be called using the V8 engine, but it is also built-in Rust. Deno 2020 has some of the key benefits include being secure out of the box (no access to localhost/network/environment), working natively with typescript without additional compiling like babel, and easy to install and use. Denojs vs nodejs is something people might be asking a lot. Deno vs node however isn’t a good example, since each has their own use case. Deno typescript and deno javascript options make it easy to use, but the deno security applied make it a little difficult. If you used typescript deno together, you will see the benefits though. Let’s take a closer look at it in this deno tutorial where we will install and begin using it.

The topics covered include:

  • What is Deno?
  • Why is Deno?
  • How do we install Deno
  • Using Deno in our environment with typescript
  • Deno security permissions
  • Deno allow network access permissions
  • Deno allow local file permissions
  • Importing deno modules from URLs
  • Deno testing capabilities

00:00 - Introduction
00:35 - What does secure by default mean?
01:22 - Installing Deno
02:02 - Deno example
03:21 - Deno security for network access
05:40 - Deno extra security for domains
06:19 - Deno file security for localhost access
07:34 - Typescript Deno support
08:00 - Deno runtime and Deno testing
09:26 - Conclusion

This is just a quick 10-minute introduction to Deno, but hopefully, it will give you a better understanding of how it works for those coming in fresh or from node. If you guys are interested, I might do more than just getting started with deno, and do a full deno course. Please let me know if you are interested in how is deno subject!

Learn more about Deno at their official site:
http://deno.land/

#deno #node #javascript #rust #web-development

Deno Tutorial - Getting Started with Deno
15.95 GEEK