@types/blob-stream
Version:
TypeScript definitions for blob-stream
32 lines (23 loc) • 946 B
Markdown
# Installation
> `npm install --save @types/blob-stream`
# Summary
This package contains type definitions for blob-stream (https://github.com/devongovett/blob-stream).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/blob-stream.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/blob-stream/index.d.ts)
````ts
/// <reference types="node" />
declare function BlobStream(): BlobStream.IBlobStream;
declare namespace BlobStream {
interface IBlobStream extends NodeJS.WritableStream {
toBlob(type?: string): Blob;
toBlobURL(type?: string): string;
}
}
export = BlobStream;
````
### Additional Details
* Last updated: Mon, 06 Nov 2023 22:41:04 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)
# Credits
These definitions were written by [Eric Hillah](https://github.com/erichillah).