Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 8 days 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 (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-12T12:19:14.000Z (over 9 years ago)
- Last Synced: 2024-09-13T14:24:45.859Z (2 months ago)
- Language: JavaScript
- Size: 133 KB
- Stars: 0
- Watchers: 2
- 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 streamThe 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.