glob-to-vinyl
v1.0.0
Published
Takes a glob, reads in files and returns Vinyls
Downloads
120
Maintainers
Readme
glob-to-vinyl
Takes a glob, reads in files and returns Vinyls. Created based on wearefractal/vinyl/issues/20.
Usage
var globToVinyl = require('glob-to-vinyl');
globToVinyl('*.js', function(err, files){
console.log(files);
console.log(files[0].contents.toString('utf8'));
});