0.1.2 • Published 9 years ago

dest-stream v0.1.2

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

dest-stream

Wrapper for vinyl-source-stream and vinyl-fs to make a dest stream

The returned Writable is a writable-stream-stack, and transforms can be added to make changes before pipe inot the dest.

Usage

var Dest = require('dest-stream');

Dest(filename)

Dest(filename, basedir, cb)

  • The dest file path will be path.resolve(basedir, filename).
  • cb will be called after all contents are piped into the dest.