Skip to content

edgycircle/pro-slugs

Repository files navigation

pro-slugs Build Status

pro-slugs is an addon that can be installed with Ember CLI. It gives you the ability to generate good looking and URL safe slugs from a string. Inspired by the Ruby gem agnostic_slugs from Lasse Ebert.

Installation

cd your-project-directory
ember install pro-slugs

Usage

import slug from 'pro-slugs';

console.log(slug('Your string!'));

About

Generates URL safe, good looking slugs from strings in Ember applications

Resources

License

Stars

Watchers

Forks

Packages

No packages published