Deno Touching repository


deno Touching repository

what is deno?

  • a JavaScript/TypeScript runtime with secure defaults and a great developer experience. made by Ryan Dahl who is also author of Node.js
  • released v1.0 on 2020/05/13.
  • speach by author with retrospective of Node.js:

in conclusion

  • The ecosystem is very well made and comfortable to touch. However, since various libraries are still overwhelmingly lacking for Node.js, is it still difficult to use in production? OSS commit chance! !! !!✊


  • The official icon is cute
  • Secure by default. No file, network, or environment access (unless explicitly enabled) (More detail:
  • Supports TypeScript by default.
  • Ships a single executable
  • Has built-in utilities(e.g. dependency inspector, code formatter)
  • There is a standard library. (It seems to be imported from Go)
  • Scripts can be bundled into a single JavaScript file.

What is different from Node.js?

  • does not use npm (module URLs instead of it)
  • does not use package.json in its module resolution algorithm.(he says it’s a noise.)
  • All async actions return a promise. (good bye callback hell)


What i did

Follow up to 1.Introduction, 2.Getting Started (up to 2.3 First steps) at , and some 6. Examples. And a little code like that.

  1. setup
$ brew install deno
$ deno --version
deno 1.4.4
v8 8.7.75
typescript 4.0.3
  1. install deno extension for VSCode

  2. getting started

$ deno run
Welcome to Deno 🦕
  1. getting started with local code
$ deno run hello-world.ts
Hello John
Hello Sarah
Hello Kai
  1. webserver.ts
$ deno run --allow-net webserver.ts
Check file:///Users/shogokakinouchiv2/study/play-with-deno/webserver.ts
HTTP webserver running.  Access it at:  http://localhost:3000/

 This is a playful guy.

It’s kind of like that from here.

  1. I’ll try the endpoint. Select as the
  2. framework .
  3. I will write a test.
  4. working with pm2

A little addicted / bonus

$ deno install -qAf --unstable
  • From now on, use commands denoinstead of denoncommands. (It’s hard to understand! And it looks like a little bug!-It’s just unstable.)


Download Details:

Author: kakinouchi

Source Code:

#deno #node #nodejs #javascript

Deno Touching repository
2.05 GEEK