UNPKG

@gracious.tech/bible-references

Version:

Bible reference detection, parsing, and rendering that supports any language.

10 lines (9 loc) 439 B
import { PassageReference, BookNamesArg } from './passage.js'; export interface PassageReferenceMatch { ref: PassageReference; text: string; index: number; index_from_prev_match: number; whole: boolean; } export declare function detect_references(text: string, book_names?: BookNamesArg, exclude_book_names?: string[], min_chars?: number, match_from_start?: boolean): Generator<PassageReferenceMatch, null, undefined>;