deno.land / std@0.139.0 / node / module_all.ts

module_all.ts
// Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.// This aliases are used in some node tests and represent a legacy alias// for the stream modules// deno-lint-ignore camelcaseimport _http_agent from "./_http_agent.mjs";// deno-lint-ignore camelcaseimport _http_outgoing from "./_http_outgoing.ts";// deno-lint-ignore camelcaseimport _stream_duplex from "./internal/streams/duplex.mjs";// deno-lint-ignore camelcaseimport _stream_passthrough from "./internal/streams/passthrough.mjs";// deno-lint-ignore camelcaseimport _stream_readable from "./internal/streams/readable.mjs";// deno-lint-ignore camelcaseimport _stream_transform from "./internal/streams/transform.mjs";// deno-lint-ignore camelcaseimport _stream_writable from "./internal/streams/writable.mjs";
import assert from "./assert.ts";import assertStrict from "./assert/strict.ts";// deno-lint-ignore camelcaseimport async_hooks from "./async_hooks.ts";import buffer from "./buffer.ts";import childProcess from "./child_process.ts";import cluster from "./cluster.ts";import console from "./console.ts";import constants from "./constants.ts";import crypto from "./crypto.ts";import dgram from "./dgram.ts";import dns from "./dns.ts";import dnsPromises from "./dns/promises.ts";import domain from "./domain.ts";import events from "./events.ts";import fs from "./fs.ts";import fsPromises from "./fs/promises.ts";import internalFsUtils from "./internal/fs/utils.mjs";import http from "./http.ts";import http2 from "./http2.ts";import https from "./https.ts";import inspector from "./inspector.ts";import internalDnsPromises from "./internal/dns/promises.ts";import internalErrors from "./internal/errors.ts";import internalEventTarget from "./internal/event_target.mjs";import internalHttp from "./internal/http.ts";import internalReadlineUtils from "./internal/readline/utils.mjs";import internalStreamsAddAbortSignal from "./internal/streams/add-abort-signal.mjs";import internalStreamsAddBufferList from "./internal/streams/buffer_list.mjs";import internalStreamsState from "./internal/streams/state.mjs";import internalTestBinding from "./internal/test/binding.ts";import internalTimers from "./internal/timers.mjs";import internalUtilInspect from "./internal/util/inspect.mjs";import internalUtil from "./internal/util.mjs";import net from "./net.ts";import os from "./os.ts";import pathPosix from "./path/posix.ts";import pathWin32 from "./path/win32.ts";import path from "./path.ts";import perfHooks from "./perf_hooks.ts";import punycode from "./punycode.ts";import process from "./process.ts";import querystring from "./querystring.ts";import readline from "./readline.ts";import repl from "./repl.ts";import stream from "./stream.ts";import streamConsumers from "./stream/consumers.mjs";import streamPromises from "./stream/promises.mjs";import streamWeb from "./stream/web.ts";import stringDecoder from "./string_decoder.ts";import sys from "./sys.ts";import timers from "./timers.ts";import timersPromises from "./timers/promises.ts";import tls from "./tls.ts";import tty from "./tty.ts";import url from "./url.ts";import utilTypes from "./util/types.mjs";import util from "./util.ts";import v8 from "./v8.ts";import vm from "./vm.ts";import workerThreads from "./worker_threads.ts";import wasi from "./wasi.ts";import zlib from "./zlib.ts";
// Canonical mapping of supported modulesexport default { _http_agent, _http_outgoing, _stream_duplex, _stream_passthrough, _stream_readable, _stream_transform, _stream_writable, assert, "assert/strict": assertStrict, async_hooks, buffer, crypto, console, constants, "child_process": childProcess, cluster, dgram, dns, "dns/promises": dnsPromises, domain, events, fs, "fs/promises": fsPromises, http, http2, https, inspector, "internal/dns/promises": internalDnsPromises, "internal/errors": internalErrors, "internal/event_target": internalEventTarget, "internal/fs/utils": internalFsUtils, "internal/http": internalHttp, "internal/readline/utils": internalReadlineUtils, "internal/streams/add-abort-signal": internalStreamsAddAbortSignal, "internal/streams/buffer_list": internalStreamsAddBufferList, "internal/streams/state": internalStreamsState, "internal/test/binding": internalTestBinding, "internal/timers": internalTimers, "internal/util/inspect": internalUtilInspect, "internal/util": internalUtil, net, os, "path/posix": pathPosix, "path/win32": pathWin32, path, "perf_hooks": perfHooks, process, get punycode() { process.emitWarning( "The `punycode` module is deprecated. Please use a userland " + "alternative instead.", "DeprecationWarning", "DEP0040", ); return punycode; }, querystring, readline, repl, stream, "stream/consumers": streamConsumers, "stream/promises": streamPromises, "stream/web": streamWeb, "string_decoder": stringDecoder, sys, timers, "timers/promises": timersPromises, tls, tty, url, "util/types": utilTypes, util, v8, vm, wasi, "worker_threads": workerThreads, zlib,} as Record<string, unknown>;
std
Deno standard library
GitHub Stars
2178
Go to latest

Version Info

Tagged at
a month ago