{{join}}
Join any number of args, using the last arg as the seperator.
Install
npm:
Install withnpm i helper-join --save-dev
Usage
var helper = ;
Join any number of args, using the last arg as the seperator.
arguments
{Array|String}separator
{String}- returns: {String}
Examples:
Join strings:
; //=> 'a-b'
Join arrays:
; //=> 'a_b'
Mixed:
; //=> 'a|b|c|d|e'
Usage with Assemble
If you use Assemble (v0.6.x), to register the helper for use with any template engine:
var assemble = ;assemble;
As a Handlebars helper (non-Assemble)
To use as a handlebars helper in non-Assemble projects:
var Handlebars = ;Handlebars;
Author
Jon Schlinkert
License
Copyright (c) 2014 Jon Schlinkert, contributors. Released under the MIT license
This file was generated by verb-cli on August 16, 2014.