deno-playground A playground project for fiddling around with Deno.
A playground project for fiddling around with Deno.
Note: In case you use ZSH and you get a command like:
zsh: command not found: vr
then open your
~/.zshrc and add the following line:
What the creator of Deno says about it: https://www.youtube.com/watch?v=M3BM9TB-8yA
|Default file system read access||yes||no|
|Default file system write access||yes||no|
|Default network access||yes||no|
|Default environment access||yes||no|
|Default subprocess access||yes||no|
|Default commend for allow / restrict all||?||yes|
|Supports TypeScript out-of-the-box||no||yes|
|Uses local dependencies (package.json)||yes||no|
|Supports ES5 modules (require syntax)||yes||no|
This is what the above mentioned velociraptor script runner does. It also allows you to manage access rights for scripts. Check the
scripts.json file for a reference to all available commands, like for example:
vr run cat-fact
As a best practice you can just create a
dist.ts file and export the scripts you want to use from there, so you have one file where you can manage dependencies.
Check out the Deno Land library: https://deno.land/x
Source Code: https://github.com/voodoods/deno-playground
The main goal of this blog is to explain the “Architecture of Nodejs” and to know how the Nodejs works behind the scenes. Generally, most of the server-side languages, like PHP, ASP.NET, Ruby, and including Nodejs follows multi-threaded architecture. That means for each client-side request initiates a new thread or even a new process.