Slugify a string with comprehensive Unicode transliteration and extensive customization options
Overall
score
94%
Complex camelCase handling (e.g., FOO360BAR, APISection)
Uses slugify function
100%
100%
Decamelize enabled
16%
100%
Handles complex cases
33%
100%
Lowercase conversion
100%
100%
Separator handling
100%
100%
CamelCase and PascalCase decamelization
Uses slugify function
100%
100%
Leverages decamelize option
0%
100%
Correct separator usage
100%
100%
Handles all test cases
100%
100%
Basic string slugification
Uses slugify function
100%
100%
Leverages default transliteration
100%
100%
Leverages built-in replacements
0%
100%
Leverages decamelize behavior
100%
100%
Multi-character separator support
Imports slugify function
100%
100%
Uses separator option
100%
100%
Double underscore separator
100%
100%
Double dash separator
100%
100%
Double colon separator
100%
100%
Category-based separator logic
100%
100%
Lowercase conversion
Lowercase slug generation
0%
100%
Transliteration for lowercase
40%
100%
Case preservation option
20%
100%
Default behavior usage
0%
50%
Transliteration consistency
80%
100%
Transliteration toggle for performance
Import slugify function
100%
100%
Use separator option
100%
100%
Performance optimization path
0%
0%
Transliteration enabled path
100%
100%
Conditional logic implementation
25%
50%
Built-in character replacements (& → and, ♥ → love, 🦄 → unicorn)
Uses slugify package
100%
100%
Relies on built-in replacements
0%
100%
Correct test implementation
100%
100%
Locale-specific transliteration
Package import
100%
100%
Locale option usage
100%
100%
Swedish locale implementation
100%
100%
German locale implementation
100%
100%
Turkish locale implementation
100%
100%
Default transliteration handling
100%
100%
Multiple posts processing
100%
100%
Whitespace and special character handling
Uses slugify function
100%
100%
Whitespace handling
100%
100%
Built-in replacements
0%
25%
Separator option
100%
100%
Trailing dash preservation
0%
100%
Character preservation
0%
100%
Custom character replacements
Import slugify
100%
100%
Use customReplacements option
100%
100%
Map @ to at
100%
100%
Map $ to dollar
100%
100%
Map % to percent
100%
100%
Map + to plus
100%
100%
Map # to number
100%
100%
Use correct replacement format
100%
100%
Install with Tessl CLI
npx tessl i tessl/npm-sindresorhus--slugify