Skip to content
This repository has been archived by the owner on Nov 16, 2019. It is now read-only.

npm/handlebars-helper-from-package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

handlebars-helper-from-package

A helper to render handlebars partials whether they're in a package or not

An example:

var helper = require('handlebars-helper-from-package');
handlebars.registerHelper('fromPackage', helper);

template = handlebars.compile('{{fromPackage "@aredridel/test-packaged-patial/test.hbs" .. param="param Value"}}');
console.log(template());

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published