Skip to content

thedevis/string-to-readable-stream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Convert string into a readable string

Installation

clone the code from github .

npm install string-to-readable-stream 

Usage

const  { stringToStream } = require('./string-to-readable-stream');
let string = "lorem ipsum is a simply dummy text of the printing and typesetting of industry";

let readableStream = stringToStream(string); //generate a readable stream

/** pipe to console **/
readableStream.pipe(process.stdout);

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

convert a large string into a readable stream in nodejs

Resources

Stars

Watchers

Forks

Packages

No packages published