question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

slugify('XBOX360'); returns “xbo-x360”. But I expected the value to be “xbox360”

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
notlmncommented, Jul 3, 2019

As mentioned by @kainiedziela, use {decamelize: false}.

image

1reaction
kainiedzielacommented, Jun 4, 2019

You should pass a following options param: { decamelize: false }.

Read more comments on GitHub >

github_iconTop Results From Across the Web

3 Cases of Misuse of Dashes - Daily Writing Tips
A dash is not applicable when one clause naturally follows another. “Know that children get restless” does not abruptly break from the ...
Read more >
The Em Dash, En Dash, and Hyphen: You're Doing It Wrong
With a little bit of practice, knowing when you properly use em dashes, en dashes, and hyphens in your writing will gradually become...
Read more >
hyphens & dashes : quick help - Center for Writing
Problem. Many writers do not differentiate between hyphens ( - ) and dashes ( – or — ), since the marks look similar....
Read more >
6 Scenarios Where Using a Hyphen is Just Plain Wrong
Before you begin to use hyphens (or dashes) you need to know when using a hyphen in a sentence is wrong and when...
Read more >
Using Dashes Correctly - University of Houston-Victoria
You may need to replace current punctuation and/or fix dashes that are used incorrectly. Check your answers by looking at the section titled...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found