deno

deno

what is deno

 Node.js 之父 Ryan Dahl針對node 的缺陷所設計的

Deno是基於V8引擎和Rust語言所建立的JavaScript、TypeScript執行環境,

Rust是由Mozilla主導開發的通用、編譯型程式語言。設計準則為「安全、並行、實用」,支援函數式、並行式、程序式以及物件導向的編程風格。

features

  • use ES Module (import) not CommonJS (requre)
  • without npm
  • support TypeScript
  • with sandbox mode
  • support promise and async/await 
  • native support lint and format .... tools
deno run https://deno.land/std/examples/welcome.ts

hello world

deno run https://deno.land/std/examples/chat/server.ts

hello each

Title Text

deno

By jaokuohsuan

deno

  • 860