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

1.0.4 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/streamify-string

Weekly Downloads

182

Version

1.0.4

License

MIT

Unpacked Size

3.53 kB

Total Files

5

Last publish

Collaborators

  • types