deno vs ts-node : what's the difference

后端 未结 3 1359
时光取名叫无心
时光取名叫无心 2020-12-23 16:49

I\'m working on a relative large typescript project, I\'m using ts-node to run node testing and examples. As far as I understand, ts-node will comp

3条回答
  •  情话喂你
    2020-12-23 17:07

    ts-node is based on Node, while Deno is a completely different and new server-side runtime, with design changes on API, module systems, security model, etc. (which reflects better of the post ES6 developments). Also, the TypeScript compiler lives directly inside of the single Deno executable (through V8 snapshots) and thus should have a shorter startup time.

提交回复
热议问题