https://github.com/zoubin/dest-stream
Wrapper for vinyl-source-stream and vinyl-fs to make a dest stream
https://github.com/zoubin/dest-stream
Last synced: 1 day ago
JSON representation
Wrapper for vinyl-source-stream and vinyl-fs to make a dest stream
- Host: GitHub
- URL: https://github.com/zoubin/dest-stream
- Owner: zoubin
- Created: 2015-05-29T08:02:43.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-08-12T12:19:14.000Z (almost 11 years ago)
- Last Synced: 2025-08-21T10:52:30.619Z (10 months ago)
- Language: JavaScript
- Size: 133 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dest-stream
Wrapper for vinyl-source-stream and vinyl-fs to make a dest stream
The returned Writable is a [writable-stream-stack](https://www.npmjs.com/package/writable-stream-stack), and transforms can be added to make changes before pipe inot the dest.
## Usage
```javascript
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.