deps.ts
#Deno
Deno
では
deps.ts
というファイルを用意し、そこでサードパーティモジュールを一括して管理する手法をよく見かける
code:deps.ts
export { exists } from "
https://deno.land/std@0.61.0/fs/exists.ts";
export { dirname, join } from "
https://deno.land/std@0.61.0/path/mod.ts";
export { BufReader } from "
https://deno.land/std@0.61.0/io/bufio.ts";
export { concat } from "
https://deno.land/std@0.61.0/bytes/mod.ts";
export { decode, encode } from "
https://deno.land/std@0.61.0/encoding/utf8.ts";
export { encode as encodeToBase64 } from "
https://deno.land/std@0.61.0/encoding/base64.ts";
export {
deferred,
Deferred,
} from "
https://deno.land/std@0.61.0/async/deferred.ts";
export { sprintf } from "
https://deno.land/std@0.61.0/fmt/printf.ts";