Big update!Introducing GitHub Bot Commands. Learn more →
Socket
Log inDemoInstall

to-readable-stream

Package Overview
Dependencies
0
Maintainers
1
Versions
5
Issues
File Explorer

Advanced tools

to-readable-stream

Convert a value to a ReadableStream

    4.0.0latest
    Github

Version published
Maintainers
1
Weekly downloads
8,323,439
increased by11.05%

Weekly downloads

Readme

Source

to-readable-stream

Convert a value to a ReadableStream

Not to be confused with Node.js stream.Readable, in which case, stream.Readable#from() should be used instead.

Install

npm install to-readable-stream

Usage

import toReadableStream from 'to-readable-stream'; toReadableStream('🦄🌈'); //=> ReadableStream<'🦄🌈'>

API

toReadableStream(value)

Returns a ReadableStream.

value

The value to convert to a stream.

  • into-stream - More advanced version of this package
  • get-stream - The opposite of this package

Keywords

FAQs

What is to-readable-stream?

Convert a value to a ReadableStream

Is to-readable-stream popular?

The npm package to-readable-stream receives a total of 7,884,369 weekly downloads. As such, to-readable-stream popularity was classified as popular.

Is to-readable-stream well maintained?

We found that to-readable-stream demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.It has 1 open source maintainer collaborating on the project.

Last updated on 26 Oct 2022

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket[email protected]

Product

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc