
Product
Socket for Jira Is Now Available
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.
ember-slugify
Advanced tools
Library to slugify your strings within Ember.
This library uses:
ember install ember-slugify
js fileimport slugify, { removeDiacritics } from 'ember-slugify'
let slug = slugify('Le Théâtre')
// le-theatre
slug = slugify('I ♥ New York')
// i-love-new-york
slug = slugify("Vive l'♥", { locale: 'fr' })
// vive-lamour
slug = slugify('bonjour monsieur', { replacement: '#' })
// bonjour#monsieur
slug = slugify('你好你怎么样 monsieur', { pinyin: true })
// ni-hao-ni-zen-me-yang-monsieur
slug = slugify('🇫🇷❤️🥖➕🍷', { emoji: true })
// flag-france-red-heart-baguette-bread-plus-wine-glass
let noDiacritics = removeDiacritics('Le Théâtre')
// Le Theatre
{{slugify 'Le Théâtre'}}
{{slugify '你好你怎么样 monsieur' (hash pinyin=true)}}
{{slugify '🇫🇷❤️🥖➕🍷' (hash emoji=true)}}
{{remove-diacritics 'Le Théâtre'}}
The separator option is not available on slugify helper.
| name | description | default value |
|---|---|---|
| replacement | replace spaces with replacement character | '-' |
| lower | convert to lower case | true |
| locale | language code of the locale to use | undefined |
| trim | trim leading and trailing replacement chars | true |
| pinyin | replace chinese by latin character following the pinyin method | false |
| emoji | replace unicode emoji by it's description | false |
See the Contributing guide for details.
|
MrChocolatine |
GreatWizard |
saintsebastian |
BlueCutOfficial |
mathieupoteriepeopledoc |
romgere |
|
ndekeister-us |
xcambar |
This project is licensed under the MIT License.
FAQs
Library to slugify your strings within Ember.
The npm package ember-slugify receives a total of 12 weekly downloads. As such, ember-slugify popularity was classified as not popular.
We found that ember-slugify demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.