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 23:36:24 GMT
- Dependencies: @types/node
Credits
These definitions were written by Jesse Wright.