pid / speakingurl

Generate a slug – transliteration with a lot of options
http://pid.github.io/speakingurl/
BSD 3-Clause "New" or "Revised" License
1.12k stars 84 forks source link

Add an option to disable currencies #129

Open pcktm opened 4 years ago

pcktm commented 4 years ago

Hello, I'm trying to make speakingurl remove $ from strings instead of replacing it with usd. Options.symbols doesn't seem to change anything.

speakingurl("test 123 $123", {
  symbols: false
}); // => 'test-123-usd123'
pid commented 4 years ago

I will check it soon, thanks for reporting.