Skip to main content

Deno Utils

Utility functions, classes, and types in uncompiled TS, for Deno.

collection

Utilities related to generic collection types, like Iterables.

import {
  largest,
  smallest,
} from "https://deno.land/x/pskfyi_deno_utils/collection/mod.ts";

fs

File system-related utilities.

import {
  findNearestFile,
  glob,
  globImport,
} from "https://deno.land/x/pskfyi_deno_utils/fs/mod.ts";

graph

Graph-related utilities.

import {
  DirectedGraph,
} from "https://deno.land/x/pskfyi_deno_utils/graph/mod.ts";

object

Object-related utilities.

import {
  setNestedEntry,
} from "https://deno.land/x/pskfyi_deno_utils/object/mod.ts";

path

Path-related utilities.

import { globRoot } from "https://deno.land/x/pskfyi_deno_utils/path/mod.ts";

timing

Timing-related utilities.

import {
  oncePerInterval,
} from "https://deno.land/x/pskfyi_deno_utils/timing/mod.ts";

types

Utility types.

import {
  JsonArray,
  JsonObject,
  JsonPrimitive,
  JsonValue,
} from "https://deno.land/x/pskfyi_deno_utils/types/mod.ts";