Defines what a slug is: the readable name of a category, a dump or a playlist in a page URL. The server makes and checks slugs with it, and the edit forms prefill their slug field with slugify.
Usage
import * as mod from "shared/slug.ts";
Defines what a slug is: the readable name of a category, a dump or a playlist in a page URL. The server makes and checks slugs with it, and the edit forms prefill their slug field with slugify.
import * as mod from "shared/slug.ts";