From e8d82a6348d4cf9fc6a023fe16bf75df7fea61b0 Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Fri, 20 Dec 2019 20:21:30 +0000 Subject: feat: Add missing mod.ts files in std (#3509) std/archive/tar.ts: - Remove FileReader. - Remove FileWriter. std/encoding/csv.ts: - ExtendedParseOptions -> ParseOptions - HeaderOption -> HeaderOptions - ParseOptions -> ReadOptions - readAll() -> readMatrix() std/encoding/yaml.ts: - DumpOptions -> StringifyOptions std/fmt/colors.ts: - getEnabled() -> getColorEnabled() - setEnabled() -> setColorEnabled() std/testing/mod.ts: - Re-export sibling modules. --- std/encoding/mod.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 std/encoding/mod.ts (limited to 'std/encoding/mod.ts') diff --git a/std/encoding/mod.ts b/std/encoding/mod.ts new file mode 100644 index 000000000..03bde0294 --- /dev/null +++ b/std/encoding/mod.ts @@ -0,0 +1,14 @@ +export { + HeaderOptions as CsvHeaderOptions, + ParseError as CsvParseError, + ParseOptions as ParseCsvOptions, + parse as parseCsv +} from "./csv.ts"; +export { + decode as decodeHex, + decodeString as decodeHexString, + encode as encodeToHex, + encodeToString as encodeToHexString +} from "./hex.ts"; +export { parse as parseToml, stringify as tomlStringify } from "./toml.ts"; +export { parse as parseYaml, stringify as yamlStringify } from "./yaml.ts"; -- cgit v1.2.3