@types/sbd
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/sbd

Weekly Downloads

3,774

Version

1.0.5

License

MIT

Unpacked Size

3.51 kB

Total Files

5

Last publish

Collaborators

  • types