Skip to content

alinex/node-handlebars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alinex Handlebars: Readme

GitHub watchers

GitHub stars GitHub forks

npm package latest version

Travis status Coveralls status Gemnasium status GitHub issues

This is a collection of helper methods extending the handlebars template system.

  • powerful helper
  • easy to use
  • easy to integrate

It is one of the modules of the Alinex Namespace following the code standards defined in the General Docs.

Read the complete documentation under https://alinex.github.io/node-handlebars.

Install

NPM Downloads

The easiest way is to let npm add the module directly to your modules (from within you node modules directory):

npm install alinex-handlebars --save

And update it to the latest version later:

npm update alinex-handlebars --save

Always have a look at the latest changes.

Usage

This library is implemented completely asynchronous, to allow io based checks and references within the structure.

To use the handlebars you have to only include it and register it with your handlebars module:

handlebars = require 'handlebars'
require('alinex-handlebars').register handlebars

That's all.

License

(C) Copyright 2016 Alexander Schilling

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.