1.0.5 • Published 7 months ago
@types/sbd v1.0.5
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
// Type definitions for sbd 1.0
// Project: https://github.com/tessmore/sbd
// Definitions by: Brian Cort <https://github.com/thatcort>, Caroline Artz <https://github.com/carolineartz>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
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: Thu, 16 Dec 2021 22:32:06 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by Brian Cort, and Caroline Artz.