UNPKG

foremark

Version:

A technology for writing semi-plain text documents that extends upon the concept of Markdeep.

3 lines (2 loc) 187 B
export declare type Pattern<T> = RegExp | ((text: string, options: T) => boolean) | string; export declare function patternMatches<T>(text: string, pat: Pattern<T>, options: T): boolean;