From d6b7f26224e7122b29182ab598d5db425eec347f Mon Sep 17 00:00:00 2001 From: garronej Date: Wed, 26 Jan 2022 17:47:49 +0100 Subject: [PATCH] Add many new Node API --- README.md | 16 +++++++++++++++- known-ports.jsonc | 23 ++++++++++++++++++++++- 2 files changed, 37 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f24606e..e42ec10 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,21 @@ Documentation

-
+ +> What's new in `v0.11`: Support or partial support fro many new Node API: +> [`console`](https://deno.land/std/node/console.ts), [`cluster`](https://deno.land/std/node/cluster.ts), +> [`dgram`](https://deno.land/std/node/dgram.ts), [`dns`](https://deno.land/std/node/dns.ts), +> [`http`](https://deno.land/std/node/http.ts), [`http2`](https://deno.land/std/node/http2.ts), +> [`https`](https://deno.land/std/node/https.ts), [`inspector`](https://deno.land/std/node/inspector.ts), +> [`module`](https://deno.land/std/node/module.ts), [`net`](https://deno.land/std/node/net.ts), +> [`perf_hooks`](https://deno.land/std/node/perf_hooks.ts), [`readline`](https://deno.land/std/node/readline.ts), +> [`repl`](https://deno.land/std/node/repl.ts), [`string_decoder`](https://deno.land/std/node/string_decoder.ts), +> [`sys`](https://deno.land/std/node/sys.ts), [`tls`](https://deno.land/std/node/tls.ts), +> [`tty`](https://deno.land/std/node/tty.ts), [`v8`](https://deno.land/std/node/v8.ts), +> [`vm`](https://deno.land/std/node/vm.ts), [`wasi`](https://deno.land/std/node/wasi.ts), +> [`worker_threads`](https://deno.land/std/node/worker_threads.ts), [`zlib`](https://deno.land/std/node/zlib.ts). + +
# What it is diff --git a/known-ports.jsonc b/known-ports.jsonc index 4e5aab8..8e036a9 100644 --- a/known-ports.jsonc +++ b/known-ports.jsonc @@ -15,7 +15,28 @@ "crypto": "https://deno.land/std/node/crypto.ts", //Very partial "stream": "https://deno.land/std/node/stream.ts", "child_process": "https://deno.land/std/node/child_process.ts", - "console": "https://deno.land/std/node/console.ts" + "console": "https://deno.land/std/node/console.ts", + "cluster": "https://deno.land/std/node/cluster.ts", + "dgram": "https://deno.land/std/node/dgram.ts", + "dns": "https://deno.land/std/node/dns.ts", + "http": "https://deno.land/std/node/http.ts", + "http2": "https://deno.land/std/node/http2.ts", + "https": "https://deno.land/std/node/https.ts", + "inspector": "https://deno.land/std/node/inspector.ts", + "module": "https://deno.land/std/node/module.ts", + "net": "https://deno.land/std/node/net.ts", + "perf_hooks": "https://deno.land/std/node/perf_hooks.ts", + "readline": "https://deno.land/std/node/readline.ts", + "repl": "https://deno.land/std/node/repl.ts", + "string_decoder": "https://deno.land/std/node/string_decoder.ts", + "sys": "https://deno.land/std/node/sys.ts", + "tls": "https://deno.land/std/node/tls.ts", + "tty": "https://deno.land/std/node/tty.ts", + "v8": "https://deno.land/std/node/v8.ts", + "vm": "https://deno.land/std/node/vm.ts", + "wasi": "https://deno.land/std/node/wasi.ts", + "worker_threads": "https://deno.land/std/node/worker_threads.ts", + "zlib": "https://deno.land/std/node/zlib.ts" /* Important: built in missing: http, https... Follow evolution of support here: https://deno.land/std/node/README.md