1.1.0 • Published 11 years ago
base-file-loader v1.1.0
base-file-loader

Load vinyl file objects onto a Template collection.
Install with npm
npm i base-file-loader --saveUsage
var loader = require('base-file-loader');
var template = require('template');
var File = require('vinyl');
template.create('post', { isRenderable: true }, [loader]);
// now you can load posts!
var file = new File({path: 'foo.md', contents: '...'});
template.post(file);Running tests
Install dev dependencies.
npm i -d && npm testContributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Author
Jon Schlinkert
License
Copyright (c) 2015 Jon Schlinkert
Released under the MIT license
This file was generated by verb-cli on March 15, 2015.