UNPKG

mesh-fetcher

Version:

A Node.js package for fetching data from multiple APIs with enhanced features.

10 lines (9 loc) 354 B
import { SlugifyOptions } from '../types'; /** * Converts a string to a URL-friendly slug. * @param str - The string to slugify * @param options - Configuration options for slugification * @returns The slugified string * @throws {Error} If str is null or undefined */ export declare function slugify(str: string, options?: SlugifyOptions): string;