Add Deno.hostname() (#3032)

This commit is contained in:
Kevin (Kun) "Kassimo" Qian 2019-09-27 16:09:42 -07:00 committed by Ryan Dahl
parent d36391ad20
commit 6efca6d1a1
9 changed files with 60 additions and 1 deletions

View file

@ -1,7 +1,7 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
// Public deno module.
export { env, exit, isTTY, execPath, homeDir } from "./os.ts";
export { env, exit, isTTY, execPath, homeDir, hostname } from "./os.ts";
export { chdir, cwd } from "./dir.ts";
export {
File,