node-slug icon indicating copy to clipboard operation
node-slug copied to clipboard

slugifies even utf-8 chars!

Results 42 node-slug issues
Sort by recently updated
recently updated
newest added

[Hebrew to Latin](http://www.kabalail.com/wordpress/?p=209)

The following regular expression used in parsing the input string is vulnerable to ReDoS: ```js /^\s+|\s+$/g ``` The slowdown is moderately low: for 50.000 characters around 2 seconds matching time....

This PR includes a possible fix for Issue #82. Please accept the merge if you agree, otherwise let me know how would you see this fixed. Regards

Hi, I tried with custom options object and the usage looks like this: ``` const slugifiedValue = slug(value, { lower: true, symbols: false }) ``` The library still convetes symbols...

Passing in strings such as `***` result in an empty string result. Not sure if this desired behavior, but it seems like `slug` should never return an empty string.

Add minifyied version for using in browser.

slug/slug.js:13 string = string.toString(); TypeError: Cannot read property 'toString' of null