npm.io
1.0.4 • Published 2 years ago

@types/streamify-string

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

Installation

npm install --save @types/streamify-string

Summary

This package contains type definitions for streamify-string (https://github.com/chrisallenlane/streamify-string).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/streamify-string.

index.d.ts

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

import { Readable } from "stream";

// eslint-disable-next-line @typescript-eslint/no-empty-interface
interface Streamify extends Readable {}
interface StreamifyConstructor {
    new(str: string, options?: any): Streamify;
    (str: string, options?: any): Streamify;
}

/**
 * Converts a string into a Node readable stream.
 */
declare const Streamify: StreamifyConstructor;

export = Streamify;

Additional Details

  • Last updated: Mon, 20 Nov 2023 2324 GMT
  • Dependencies: @types/node

Credits

These definitions were written by Jesse Wright.