partials

0.1.0 • Public • Published

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.

Package Sidebar

Install

npm i partials

Weekly Downloads

50

Version

0.1.0

License

none

Last publish

Collaborators

  • doowb
  • jonschlinkert