Skip to main content
Module

x/fresh_seo/src/deps.ts

The fastest way ⚡️ to create sitemap and robots.txt in your Deno Fresh project 🍋
Latest
import * as freshSeo from "https://deno.land/x/fresh_seo@1.0.1/src/deps.ts";

Classes

Overrides the real Date object and timer functions with fake ones that can be controlled through the fake time instance.

Functions

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

Make an assertion that actual includes expected. If not then throw.

Executes a function, expecting it to throw. If it does not, then it throws.

Ensures that the file exists. If the file that is requested to be created is in directories that do not exist. these directories are created. If the file already exists, it is NOTMODIFIED. Requires the --allow-read and --allow-write flag.

Filters out the files that were either not included in globs.include, or excluded from globs.exclude. Files should be passed in as relative paths. The first ./ part of the file or glob will be removed before testing