partials
v0.1.0
Published
Create an object of template partials from a glob of files to pass to any template engine.
Downloads
94
Readme
partials
Create an object of template partials from a glob of files to pass to any template engine.
Install
Install with npm
npm i partials --save
Install with bower
bower install partials --save
Run tests
npm test
Usage
var partials = require('partials');
console.log(partials('*.hbs'));
//=> {a: '<h1>{{title}}</h1>', b: '<h1>{{title}}</h1>', c: '<h1>{{title}}</h1>' }
Author
Jon Schlinkert
License
Copyright (c) 2014 Jon Schlinkert, contributors.
Released under the MIT license
This file was generated by verb-cli on October 10, 2014.