Socket
Book a DemoInstallSign in
Socket

partials

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

partials

Create an object of template partials from a glob of files to pass to any template engine.

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

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.

Keywords

dir

FAQs

Package last updated on 10 Oct 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts