1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-16 19:04:02 -05:00
denoland-deno/js/deno.ts

47 lines
1.6 KiB
TypeScript
Raw Normal View History

// Copyright 2018 the Deno authors. All rights reserved. MIT license.
2018-10-20 03:25:29 +08:00
// Public deno module.
/// <amd-module name="deno"/>
2018-09-13 11:04:45 +09:00
export { env, exit } from "./os";
2018-10-14 01:33:27 +05:30
export { chdir, cwd } from "./dir";
export { File, open, stdin, stdout, stderr, read, write, close } from "./files";
2018-10-06 17:29:59 +02:00
export {
2018-10-08 09:19:18 +02:00
copy,
ReadResult,
Reader,
Writer,
Closer,
Seeker,
ReaderCloser,
WriteCloser,
ReadSeeker,
WriteSeeker,
ReadWriteCloser,
ReadWriteSeeker
2018-10-06 17:29:59 +02:00
} from "./io";
2018-09-10 14:18:36 +04:30
export { mkdirSync, mkdir } from "./mkdir";
2018-09-13 11:04:45 +09:00
export { makeTempDirSync, makeTempDir } from "./make_temp_dir";
export { removeSync, remove, removeAllSync, removeAll } from "./remove";
2018-09-12 08:44:58 -07:00
export { renameSync, rename } from "./rename";
2018-09-24 21:20:49 -07:00
export { readFileSync, readFile } from "./read_file";
2018-10-04 06:56:56 +09:00
export { readDirSync, readDir } from "./read_dir";
2018-09-30 15:06:41 -07:00
export { copyFileSync, copyFile } from "./copy_file";
2018-09-24 21:20:49 -07:00
export { readlinkSync, readlink } from "./read_link";
2018-10-04 06:56:56 +09:00
export { statSync, lstatSync, stat, lstat } from "./stat";
2018-09-18 21:38:24 -07: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-22 00:59:26 -07:00
export { trace } from "./trace";
2018-10-01 03:06:20 +08: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 19:21:15 +02:00
export { metrics } from "./metrics";
export const args: string[] = [];
2018-10-06 00:13:22 +10:00
// Provide the compiler API in an obfuscated way
import * as compiler from "./compiler";
// @internal
export const _compiler = compiler;