Novelty Palliates Malaise
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

glob-to-vinyl

1.0.0 • Public • Published

glob-to-vinyl NPM version Dependency Status

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'));
});

install

npm i glob-to-vinyl

Downloadsweekly downloads

16

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability