helper-slugify
Slugify a URL, path or heading id using the same format as GitHub heading anchors.
Usage
var slugify = ;
Lo-Dash usage
Usage with lodash:
var template = ;var options = imports: slugify: ; var str = ;console;//=> 'foo-bar-baz'
Engine usage
Usage with engine:
var Engine = ;var engine = ; engine; engine;console;//=> 'foo-bar-baz'
About
Related projects
- handlebars-helpers: More than 130 Handlebars helpers in ~20 categories. Helpers can be used with Assemble, Generate… more | homepage
- helper-reflinks: Async template helper for generating a list of markdown reference links. | homepage
- helper-related: Template helper for generating a list of links to the homepages of related GitHub/npm projects. | homepage
- template-helpers: Generic JavaScript helpers that can be used with any template engine. Handlebars, Lo-Dash, Underscore, or… more | homepage
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Running tests
Install dev dependencies:
$ npm install -d && npm test
Author
Jon Schlinkert
License
Copyright © 2016, Jon Schlinkert. Released under the MIT license.
This file was generated by verb, v0.9.0, on July 19, 2016.