npm.io
1.0.5 • Published 2 years ago

@types/sbd

Licence
MIT
Version
1.0.5
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

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 1536 GMT
  • Dependencies: none

Credits

These definitions were written by Brian Cort, and Caroline Artz.