Deno v1.9.1 All In One
Deno v1.9.1 All In One
A secure runtime for JavaScript and TypeScript.
$ curl -fsSL https://deno.land/x/install/install.sh | sh
$ brew install deno
Standard Library
demo
$ deno run https://deno.land/std/examples/welcome.ts
Or a more complex one:
import { serve } from "https://deno.land/std@0.94.0/http/server.ts";
const s = serve({ port: 8000 });
console.log("http://localhost:8000/");
for await (const req of s) {
req.respond({ body: "Hello World\n" });
}
deno architecture
https://deno.land/manual/contributing/architecture
https://github.com/denoland/manual/blob/v1.21.1/contributing/architecture.md
refs
©xgqfrms 2012-2020
www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!
原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/14687444.html
未经授权禁止转载,违者必究!