handlebars-helper-create-frame

WebJar for handlebars-helper-create-frame

License

License

MIT
GroupId

GroupId

org.webjars.bowergithub.helpers
ArtifactId

ArtifactId

handlebars-helper-create-frame
Last Version

Last Version

0.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

handlebars-helper-create-frame
WebJar for handlebars-helper-create-frame
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/helpers/handlebars-helper-create-frame

Download handlebars-helper-create-frame

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bowergithub.helpers/handlebars-helper-create-frame/ -->
<dependency>
    <groupId>org.webjars.bowergithub.helpers</groupId>
    <artifactId>handlebars-helper-create-frame</artifactId>
    <version>0.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bowergithub.helpers/handlebars-helper-create-frame/
implementation 'org.webjars.bowergithub.helpers:handlebars-helper-create-frame:0.1.0'
// https://jarcasting.com/artifacts/org.webjars.bowergithub.helpers/handlebars-helper-create-frame/
implementation ("org.webjars.bowergithub.helpers:handlebars-helper-create-frame:0.1.0")
'org.webjars.bowergithub.helpers:handlebars-helper-create-frame:jar:0.1.0'
<dependency org="org.webjars.bowergithub.helpers" name="handlebars-helper-create-frame" rev="0.1.0">
  <artifact name="handlebars-helper-create-frame" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bowergithub.helpers', module='handlebars-helper-create-frame', version='0.1.0')
)
libraryDependencies += "org.webjars.bowergithub.helpers" % "handlebars-helper-create-frame" % "0.1.0"
[org.webjars.bowergithub.helpers/handlebars-helper-create-frame "0.1.0"]

Dependencies

compile (2)

Group / Artifact Type Version
org.webjars.bowergithub.jonschlinkert : create-frame jar [1.0.0,2)
org.webjars.bowergithub.jonschlinkert : isobject jar [3.0.0,4)

Project Modules

There are no modules declared in this project.

handlebars-helper-create-frame NPM version NPM monthly downloads NPM total downloads Linux Build Status

Handlebars block helper for creating private variables that are accessible inside the block.

Install

Install with npm:

$ npm install --save handlebars-helper-create-frame

Usage

Example for handlebars, but this should work for any template engine that takes helpers or filters.

var handlebars = require('handlebars');

handlebars.registerHelper('frame', require('handlebars-helper-create-frame'));
var fn = handlebars.compile('{{#frame site=site}}Name: {{@site.name}}{{/frame}}');
console.log(fn({site: {name: 'Test'}}));
//=> 'Name: Test'

About

Related projects

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Please read the contributing guide for avice on opening issues, pull requests, and coding standards.

Building docs

(This document was generated by verb-generate-readme (a verb generator), please don't edit the readme directly. Any changes to the readme must be made in .verb.md.)

To generate the readme and API documentation with verb:

$ npm install -g verb verb-generate-readme && verb

Running tests

Install dev dependencies:

$ npm install -d && npm test

Author

Jon Schlinkert

License

Copyright © 2017, Jon Schlinkert. Released under the MIT license.


This file was generated by verb-generate-readme, v0.2.3, on January 05, 2017.

org.webjars.bowergithub.helpers

Helpers

Template helpers and utils for any engine. Create an issue on helpers/meta to request a new helper repo, or ask to be added to the org.

Versions

Version
0.1.0