chainy-plugin-pipe

1.0.1 • Public • Published

pipe action for ChainyJS

Build Status NPM version Dependency Status Development Dependency Status
Gittip donate button Flattr donate button PayPayl donate button BitCoin donate button Wishlist browse button

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"

Install

NPM

  • Use: require('chainy-plugin-pipe')
  • Install: npm install --save chainy-plugin-pipe

Browserify

  • Use: require('chainy-plugin-pipe')
  • Install: npm install --save chainy-plugin-pipe
  • CDN URL: //wzrd.in/bundle/chainy-plugin-pipe@1.0.1

Ender

  • Use: require('chainy-plugin-pipe')
  • Install: ender add chainy-plugin-pipe

History

Discover the change history by heading on over to the HISTORY.md file.

Contribute

Discover how you can contribute by heading on over to the CONTRIBUTING.md file.

Backers

Maintainers

These amazing people are maintaining this project:

  • Benjamin Lupton b@lupton.cc (https://github.com/balupton)

Sponsors

No sponsors yet! Will you be the first?

Gittip donate button Flattr donate button PayPayl donate button BitCoin donate button Wishlist browse button

Contributors

These amazing people have contributed code to this project:

Become a contributor!

License

Licensed under the incredibly permissive MIT license

Copyright © 2014+ Bevry Pty Ltd us@bevry.me (http://bevry.me)

/chainy-plugin-pipe/

    Package Sidebar

    Install

    npm i chainy-plugin-pipe

    Weekly Downloads

    1

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • bevryme