mirror of
https://github.com/Instadapp/Swap-Aggregator-Subgraph.git
synced 2024-07-29 21:57:12 +00:00
46 lines
1.0 KiB
Markdown
46 lines
1.0 KiB
Markdown
# pull-to-stream [](https://www.npmjs.com/package/pull-to-stream) [](https://www.npmjs.com/package/pull-to-stream) [](https://www.npmjs.com/package/pull-to-stream) [](https://travis-ci.org/hugomrdias/pull-to-stream) [](https://codecov.io/gh/hugomrdias/pull-to-stream?branch=master)
|
|
|
|
> pull-stream to stream module
|
|
|
|
|
|
## Install
|
|
|
|
```
|
|
$ npm install pull-to-stream
|
|
```
|
|
|
|
|
|
## Usage
|
|
|
|
```js
|
|
const pullToStream = require('pull-to-stream');
|
|
|
|
pullToStream('unicorns');
|
|
//=> 'unicorns & rainbows'
|
|
```
|
|
|
|
|
|
## API
|
|
|
|
### pullToStream(input, [options])
|
|
|
|
#### input
|
|
|
|
Type: `string`
|
|
|
|
Lorem ipsum.
|
|
|
|
#### options
|
|
|
|
##### foo
|
|
|
|
Type: `boolean`<br>
|
|
Default: `false`
|
|
|
|
Lorem ipsum.
|
|
|
|
|
|
## License
|
|
|
|
MIT © [Hugo Dias](http://hugodias.me)
|