Deno Runtime for Javascript - How to Execute Javascript File

in hive-119463 •  4 years ago 

If you are using the Node.js for few years I am sure you have found out about the javascript runtime named Deno. And it seems like the runtime is pretty much good enough for the javascript and typescript. So if you are into the deno runtime you should check out the available tutorial video that I have linked here.

Make sure you download and install deno if possible. And after that once installed you can check the deno version.

deno --version

and if you want to run the javascript file and get the output you should check out following command.

deno file1.js

Here the file1 is basically the javascript file that you can use for the execution of the runtime. This way we can do the same for the typescript too but we will see that part later.

Check the video tutorial below for the execution of the javascript file.

You can make use of the deno runtime for executing the javascript and also making use of hosted files too. So that is one plus for you to try out some of the secure hosted files execution which I will cover later in another tutorial perhaps.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!