Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/slug/mod.ts>SlugOptions

Deno library for converting arbitrary strings into valid slugs
Latest
interface SlugOptions
import { type SlugOptions } from "https://deno.land/x/slug@v1.1.0/mod.ts";

Properties

replacement: string
remove: RegExp | undefined
lower: boolean
strict: boolean
locale:
| "bg"
| "de"
| "es"
| "fr"
| "pt"
| "uk"
| "vi"
| "da"
| "nb"
| "it"
| "nl"
| "sv"
trim: boolean
extends: Record<string, string>