1.0.5 • Published 6 months ago
@types/split v1.0.5
Installation
npm install --save @types/split
Summary
This package contains type definitions for split (https://github.com/dominictarr/split).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/split.
index.d.ts
// Type definitions for split v1.0.1
// Project: https://github.com/dominictarr/split
// Definitions by: Marcin Porębski <https://github.com/marcinporebski>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node" />
/// <reference types="through" />
import { ThroughStream } from 'through';
// doc-strings taken from https://github.com/dominictarr/split, used under MIT license
interface SplitOptions {
maxLength: number;
/**
* By default the last buffer not delimited by a newline or `matcher` will be emitted.
* To prevent this set `options.trailing` to `false`.
*/
trailing?: boolean;
}
declare function split(matcher?: any, mapper?: any, options?: SplitOptions): ThroughStream;
export = split;
Additional Details
- Last updated: Sun, 27 Mar 2022 17:31:45 GMT
- Dependencies: @types/through, @types/node
- Global values: none
Credits
These definitions were written by Marcin Porębski.
1.0.5
6 months ago
1.0.4
7 months ago
1.0.3
7 months ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
6 years ago
0.3.28
8 years ago
0.3.27
8 years ago
0.3.26-alpha
8 years ago
0.3.25-alpha
8 years ago
0.3.24-alpha
8 years ago
0.3.23-alpha
8 years ago
0.3.22-alpha
8 years ago
0.3.21-alpha
8 years ago
0.3.20-alpha
8 years ago
0.3.15-alpha
8 years ago
0.3.14-alpha
8 years ago