pipe action for ChainyJS
Chainy action that pipes the chain's data to a writable stream
Note: Despite pipe calls usually returning the piped stream, this plugin, like all the other chainy actions, returns the chain.
require('chainy').create().require('set pipe')
.set('some data')
.pipe(
require('fs').createWriteStream(process.cwd()+'/out.txt')
) // will write "some data" to the file "out.txt"
- Use:
require('chainy-plugin-pipe')
- Install:
npm install --save chainy-plugin-pipe
- Use:
require('chainy-plugin-pipe')
- Install:
npm install --save chainy-plugin-pipe
- CDN URL:
//wzrd.in/bundle/[email protected]
- Use:
require('chainy-plugin-pipe')
- Install:
ender add chainy-plugin-pipe
Discover the change history by heading on over to the HISTORY.md
file.
Discover how you can contribute by heading on over to the CONTRIBUTING.md
file.
These amazing people are maintaining this project:
- Benjamin Lupton [email protected] (https://github.com/balupton)
No sponsors yet! Will you be the first?
These amazing people have contributed code to this project:
Licensed under the incredibly permissive MIT license
Copyright © 2014+ Bevry Pty Ltd [email protected] (http://bevry.me)