Alinex Handlebars: Readme
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
The easiest way is to let npm add the module directly to your modules (from within you node modules directory):
Shell Script npm install alinex-handlebars --save
And update it to the latest version later:
Shell Script 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:
CoffeeScript Code handlebars = require 'handlebars'
require('alinex-handlebars').register handlebars
That’s all.
License
© 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
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.