limax icon indicating copy to clipboard operation
limax copied to clipboard

Node.js module to generate URL slugs. Another one? This one cares about i18n and transliterates non-Latin scripts to conform to the RFC3986 standard. Mostly API-compatible with similar modules.

Results 11 limax issues
Sort by recently updated
recently updated
newest added

The following return empty string if run on Google/Firebase Cloud Functions (Node12) ```javascript const slug = require('limax'); slug('金山芋圓王') ``` I suspect is due to `@napi-rs/pinyin`. Switching to version `v2.1.0` seems...

question

Currently if users got the release tab they have no clue what's changed between releases. Any chance you could start adding those?

enhancement

Expected behavior: ``` >limax("wendy's", {custom: ["'"]}) wendy's ``` Actual behavior: ``` >limax("wendy's", {custom: ["'"]}) wendys ``` The `separateApostrophes` option does not help here.

bug

Hi, thanks for this awesome library! We've faced a situation with strings only made of emojis. **Actual behavior** ```es6 limax('😵️') === '' ``` **Expected behavior** ```es6 // Replace by emoji...

question

Quick question, the speakingurl lib allows you to specify a truncate number but limax doesn't expose that. Is that intentional? Would you be open to have that added back. I...

enhancement

Was testing https://github.com/CoderDojo/cp-dojos-service/pull/234 and urls formed from Hindi were not correct i.e. We would get the following with a url based on Hindi: http://localhost:8000/dashboard/dojo/in//-1 http://localhost:8000/dashboard/dojo/in//-2 Edit the page so the...

enhancement

I love it. Thanks!

thank-you

See https://github.com/keystonejs/keystone/issues/1366#issuecomment-99640365 The [Royal Thai General System of Transcription](http://en.wikipedia.org/wiki/Royal_Thai_General_System_of_Transcription) seems to be the most suitable form of transliteration.

enhancement

Characters with a marcron (e.g. `ō`) should default to the non-macron version of that letter, not a hyphen. **Example**: `Pōneke` - Expected result: `poneke` - Current result: `p-neke` I'm interested...

enhancement

Hi all, previous versions of Limax mapped German umlauts to the proper counterpart (e.g. `ü` will become `ue`). With the change in #44 and 4.0 unfortunately this breaks, and `ü`...

bug