This repository has been archived on 2020-11-02. You can view files and clone it, but cannot push or open issues or pull requests.
TripSit_Suite/node_modules/to-readable-stream
cranberry ed23347e56 Initial comission of TheLounge base files 2020-11-01 22:46:04 +00:00
..
index.js Initial comission of TheLounge base files 2020-11-01 22:46:04 +00:00
license Initial comission of TheLounge base files 2020-11-01 22:46:04 +00:00
package.json Initial comission of TheLounge base files 2020-11-01 22:46:04 +00:00
readme.md Initial comission of TheLounge base files 2020-11-01 22:46:04 +00:00

readme.md

to-readable-stream Build Status

Convert a string/Buffer/Uint8Array to a readable stream

Install

$ npm install to-readable-stream

Usage

const toReadableStream = require('to-readable-stream');

toReadableStream('🦄🌈').pipe(process.stdout);

API

toReadableStream(input)

Returns a stream.Readable.

input

Type: string Buffer Uint8Array

Value to convert to a stream.

License

MIT © Sindre Sorhus