Skip to main content
Module

x/diplodocus/deps.ts

🦕 Deno Deploy Docs 📓
Go to Latest
import * as mod from "https://deno.land/x/diplodocus@0.0.3/deps.ts";

Functions

Make an assertion, error will be thrown if expr does not have truthy value.

Make an assertion that actual and expected are equal, deeply. If not deeply equal, then throw.

Executes a function, expecting it to throw. If it does not, then it throws. An error class and a string that should be included in the error message can also be asserted.

Lookup the MIME type for a file path/extension.

Parses content as single YAML document.

Returns all elements in the given collection, sorted stably by their result using the given selector. The selector function is called only once for each element.

Render markup tag.