lovell / limax

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.
Apache License 2.0
586 stars 50 forks source link

truncate from speakingurl lib #33

Open mmanela opened 5 years ago

mmanela commented 5 years ago

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 am not sure I need it yet but as I was evaluating the different libs I noticed that difference.

lovell commented 5 years ago

Hello, I suspect no-one has needed this setting until now. Happy to accept a PR to expose it if you're able.