vinyl-to-stream

Convert a vinyl stream to a text stream

Usage no npm install needed!

<script type="module">
  import vinylToStream from 'https://cdn.skypack.dev/vinyl-to-stream';
</script>

README

vinyl-to-stream Build Status

Convert a vinyl stream to a text stream

Install

$ npm install --save vinyl-to-stream

Usage

var fs = require('fs');
var vfs = require('vinyl-fs');
var vinylToStream = require('vinyl-to-stream');

vfs.src('foo.html')
    .pipe(vinylToStream())
    .pipe(fs.createWriteStream('bar.html'));

License

MIT © Kevin Mårtensson