@types/split2
TypeScript definitions for split2 2.1.0
Last updated 10 years ago by types .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @types/split2 
SYNC missed versions from official npm registry.

Installation

npm install --save @types/split2

Summary

This package contains type definitions for split2 (https://github.com/mcollina/split2).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/split2.

index.d.ts

// Type definitions for split2 3.2
// Project: https://github.com/mcollina/split2
// Definitions by: TANAKA Koichi <https://github.com/mugeso>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

/// <reference types="node" />

import { Transform, TransformOptions } from "stream";

declare function split(matcher: split.Matcher, Mapper: split.Mapper, options?: split.Options): Transform;
declare function split(mapper: split.Mapper, options?: split.Options): Transform;
// tslint:disable-next-line unified-signatures
declare function split(matcher: split.Matcher, options?: split.Options): Transform;
declare function split(options?: split.Options): Transform;

declare namespace split {
    interface Mapper {
        (line: string): any;
    }

    interface Options extends TransformOptions {
        maxLength?: number | undefined;
    }
    type Matcher = string | RegExp;
}

export = split;

Additional Details

  • Last updated: Tue, 06 Jul 2021 16:35:11 GMT
  • Dependencies: @types/node
  • Global values: none

Credits

These definitions were written by TANAKA Koichi.

Current Tags

  • 3.2.1                                ...           latest (5 years ago)
  • 2.1.6                                ...           ts2.0 (9 years ago)
  • 2.1.6                                ...           ts2.1 (9 years ago)
  • 2.1.6                                ...           ts2.2 (9 years ago)
  • 2.1.6                                ...           ts2.3 (9 years ago)
  • 2.1.6                                ...           ts2.4 (9 years ago)
  • 2.1.6                                ...           ts2.5 (9 years ago)
  • 2.1.6                                ...           ts2.6 (9 years ago)
  • 2.1.6                                ...           ts2.7 (9 years ago)
  • 2.1.6                                ...           ts2.8 (9 years ago)
  • 2.1.6                                ...           ts2.9 (9 years ago)
  • 2.1.6                                ...           ts3.0 (9 years ago)
  • 2.1.6                                ...           ts3.1 (9 years ago)
  • 2.1.6                                ...           ts3.2 (9 years ago)
  • 2.1.6                                ...           ts3.3 (9 years ago)
  • 2.1.6                                ...           ts3.4 (9 years ago)
  • 3.2.0                                ...           ts3.5 (5 years ago)
  • 3.2.1                                ...           ts3.6 (5 years ago)
  • 3.2.1                                ...           ts3.7 (5 years ago)
  • 3.2.1                                ...           ts3.8 (5 years ago)
  • 3.2.1                                ...           ts3.9 (5 years ago)
  • 3.2.1                                ...           ts4.0 (5 years ago)
  • 3.2.1                                ...           ts4.1 (5 years ago)
  • 3.2.1                                ...           ts4.2 (5 years ago)
  • 3.2.1                                ...           ts4.3 (5 years ago)
  • 3.2.1                                ...           ts4.4 (5 years ago)
  • 3.2.1                                ...           ts4.5 (5 years ago)
  • 3.2.1                                ...           ts4.6 (5 years ago)
  • 3.2.1                                ...           ts4.7 (5 years ago)
  • 3.2.1                                ...           ts4.8 (5 years ago)
  • 3.2.1                                ...           ts4.9 (5 years ago)
  • 3.2.1                                ...           ts5.0 (5 years ago)
  • 3.2.1                                ...           ts5.1 (5 years ago)

8 Versions

  • 3.2.1                                ...           5 years ago
  • 3.2.0                                ...           5 years ago
  • 2.1.6                                ...           9 years ago
  • 2.1.5                                ...           9 years ago
  • 2.1.4                                ...           10 years ago
  • 0.0.3                                ...           10 years ago
  • 0.0.2                                ...           10 years ago
  • 0.0.1                                ...           10 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org | Home |