sindresorhus/slugify
Slugify a string
Build with Backblaze B2
SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.
Loading star history...
Where it stands
Rank, growth pace and release cadence relative to everything GStars tracks.
Ranks #400 of 2,794 repositories GStars tracks this week (top 14%).
2 releases in the last 90 days, the latest 38 days ago, with 18 contributors on GitHub.
Use Cases & Benefits
- Converts strings into URL-safe, readable slugs by transliterating and formatting text.
- Supports multiple languages and customizable options for precise slug generation and uniqueness handling.
- Use for generating SEO-friendly URLs from user input or content titles in web applications.
- Use for creating unique HTML element IDs with automatic counters to avoid duplicate anchors in documents.
- Use for sanitizing filenames or identifiers by converting complex strings into safe, consistent formats.
Should you depend on it?
License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.
License
MIT
Permissive: commercial use, modification and redistribution are allowed with attribution.
Community files
- README: present
- Contributing guide: present
- Code of conduct: present
Watch-outs
No watch-outs from GStars' checks.
General guidance from repository metadata, not legal advice. How we score
From the README
Slugify a string
Useful for URLs, filenames, and IDs.
It handles most major languages, including German (umlauts), Vietnamese, Arabic, Russian, and more.
Daily snapshots
Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots
Forks
99+11
Open issues
2+1
Compared with peers in Backend
Fastest-growing repositories GStars tracks in this cohort for the week of Oct 18, by 7-day star growth
| Repository | Stars | +7d | Health | Last release |
|---|---|---|---|---|
| anthropics/claude-plugins-official | 43.9K | +5.6K | 35 | — |
| NationalSecurityAgency/ghidra | 93.2K | +4.9K | 75 | today |
| K-Dense-AI/scientific-agent-skills | 53.9K | +4.0K | 75 | 21 days ago |
| akitaonrails/ai-memory | 12.8K | +3.3K | 40 | today |
| shiyu-coder/Kronos | 43.2K | +2.4K | 75 | — |
| sindresorhus/slugify | 2.7K | +0 | 75 | 38 days ago |
| Category median | 43.9K | +4.0K | 75 | — |
Also by sindresorhus
Other repositories from this maintainer that GStars tracks
- 518.7K stars
awesome
😎 Awesome lists about all kinds of interesting topics [NOTE: Pull requests are temporarily disabled until I have a chance to catch up with the existing ones]
- TypeScript17.5K stars
type-fest
A collection of essential TypeScript types
- TypeScript17.1K stars
ky
🌳 Tiny & elegant JavaScript HTTP client based on the Fetch API
- JavaScript5.3K stars
eslint-plugin-unicorn
More than 300 powerful ESLint rules
Discover Repositories
Search across tracked repositories by name or description