convert-vinyl-to-vfile
Install
npm install --save convert-vinyl-to-vfile
Usage
const convertVinylToVfile = const join = ;const VFile = ;const Vinyl = ; const vinylFile = contents: Buffer path: ; const vfile = ;/* => * new VFile({ * contents: <Buffer 61 62 65 20 6c 69 6e 63 6f 6c 6e>, * path: 'users/dustin/project/awesome.project.md' * }) */ vfile instanceof VFile;// => true
LICENSE
MIT © Dustin Specker