UNPKG

link-styler

Version:

JavaScript package that simplifies the task of identifying links within text and applying custom styling by automatically replacing them with tags.

8 lines (7 loc) 256 B
import { Setting } from './interface'; export declare function start(s?: Setting): void; export declare function convert(text: string, s?: Setting): string; export declare const linkStyler: { start: typeof start; convert: typeof convert; };