getting start with deno

1. INSTALL

 

on Linux or Mac

curl -fsSL https://deno.land/x/install/install.sh | sh

 

2. Hello world

 

create a file "hello.ts":

console.log('Hello, world!')

 

run `deno hello.ts`

posted on 2019-02-25 22:48  硬撑2019  阅读(133)  评论(0)    收藏  举报