0.1.0 • Published 10 years ago

partials v0.1.0

Weekly downloads
38
License
-
Repository
github
Last release
10 years ago

partials NPM version

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.