Installation
npm install --save @types/sbd
Summary
This package contains type definitions for sbd (https://github.com/tessmore/sbd).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sbd.
index.d.ts
export interface Options {
newline_boundaries?: boolean | undefined;
html_boundaries?: boolean | undefined;
html_boundaries_tags?: string[] | undefined;
sanitize?: boolean | undefined;
allowed_tags?: false | string[] | undefined;
preserve_whitespace?: boolean | undefined;
abbreviations?: string[] | undefined;
}
export function sentences(text: string, options?: Options): string[];
Additional Details
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: none
Credits
These definitions were written by Brian Cort, and Caroline Artz.