1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-23 15:16:54 -05:00
denoland-deno/js/deno.ts

69 lines
2.1 KiB
TypeScript
Raw Normal View History

2019-01-01 19:58:40 -05:00
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
2018-10-19 15:25:29 -04:00
// Public deno module.
/// <amd-module name="deno"/>
2019-01-06 14:16:42 -05:00
export { pid, env, exit } from "./os";
2018-10-13 16:03:27 -04:00
export { chdir, cwd } from "./dir";
2018-12-13 16:20:37 -05:00
export {
File,
open,
stdin,
stdout,
stderr,
read,
write,
close,
OpenMode
} from "./files";
2018-10-06 11:29:59 -04:00
export {
2018-10-08 03:19:18 -04:00
copy,
toAsyncIterator,
2018-10-08 03:19:18 -04:00
ReadResult,
Reader,
Writer,
Closer,
Seeker,
ReadCloser,
2018-10-08 03:19:18 -04:00
WriteCloser,
ReadSeeker,
WriteSeeker,
ReadWriteCloser,
ReadWriteSeeker
2018-10-06 11:29:59 -04:00
} from "./io";
2018-11-30 12:58:31 -05:00
export { Buffer, readAll } from "./buffer";
2018-09-10 05:48:36 -04:00
export { mkdirSync, mkdir } from "./mkdir";
2018-09-12 22:04:45 -04:00
export { makeTempDirSync, makeTempDir } from "./make_temp_dir";
export { chmodSync, chmod } from "./chmod";
export { removeSync, remove, removeAllSync, removeAll } from "./remove";
2018-09-12 11:44:58 -04:00
export { renameSync, rename } from "./rename";
2018-09-25 00:20:49 -04:00
export { readFileSync, readFile } from "./read_file";
2018-10-03 17:56:56 -04:00
export { readDirSync, readDir } from "./read_dir";
2018-09-30 18:06:41 -04:00
export { copyFileSync, copyFile } from "./copy_file";
2018-09-25 00:20:49 -04:00
export { readlinkSync, readlink } from "./read_link";
2018-10-03 17:56:56 -04:00
export { statSync, lstatSync, stat, lstat } from "./stat";
2018-09-19 00:38:24 -04:00
export { symlinkSync, symlink } from "./symlink";
export { writeFileSync, writeFile } from "./write_file";
export { ErrorKind, DenoError } from "./errors";
export { libdeno } from "./libdeno";
export { platform } from "./platform";
2018-09-30 15:06:20 -04:00
export { truncateSync, truncate } from "./truncate";
2018-10-03 21:41:59 -04:00
export { FileInfo } from "./file_info";
export { connect, dial, listen, Listener, Conn } from "./net";
2018-10-05 13:21:15 -04:00
export { metrics } from "./metrics";
2018-10-30 15:58:55 -04:00
export { resources } from "./resources";
export { run, RunOptions, Process, ProcessStatus } from "./process";
2018-12-19 22:08:49 -05:00
export { inspect } from "./console";
export const args: string[] = [];
2018-10-05 10:13:22 -04:00
// TODO Don't expose Console nor stringifyArgs.
export { Console, stringifyArgs } from "./console";
// TODO Don't expose DomIterableMixin.
export { DomIterableMixin } from "./mixins/dom_iterable";
// TODO Don't expose deferred.
export { deferred } from "./util";
2018-10-05 10:13:22 -04:00
// Provide the compiler API in an obfuscated way
import * as compiler from "./compiler";
// @internal
export const _compiler = compiler;