{"id":47836318,"url":"https://github.com/shahradelahi/ts-slugify","last_synced_at":"2026-04-03T20:32:30.116Z","repository":{"id":340948740,"uuid":"1166810693","full_name":"shahradelahi/ts-slugify","owner":"shahradelahi","description":"⚡ Blazing fast, strictly typed slugification with Unicode transliteration.","archived":false,"fork":false,"pushed_at":"2026-03-18T01:14:58.000Z","size":81,"stargazers_count":4,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-25T18:11:06.625Z","etag":null,"topics":["high-performance","seo","slug","slugify","transliteration","typescript","unicode","url-safe"],"latest_commit_sha":null,"homepage":"https://npmjs.com/@se-oss/slugify","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shahradelahi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-25T16:25:27.000Z","updated_at":"2026-02-27T13:28:41.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/shahradelahi/ts-slugify","commit_stats":null,"previous_names":["shahradelahi/ts-slugify"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/shahradelahi/ts-slugify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shahradelahi%2Fts-slugify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shahradelahi%2Fts-slugify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shahradelahi%2Fts-slugify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shahradelahi%2Fts-slugify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shahradelahi","download_url":"https://codeload.github.com/shahradelahi/ts-slugify/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shahradelahi%2Fts-slugify/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31375769,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T17:53:18.093Z","status":"ssl_error","status_checked_at":"2026-04-03T17:53:17.617Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["high-performance","seo","slug","slugify","transliteration","typescript","unicode","url-safe"],"created_at":"2026-04-03T20:32:29.377Z","updated_at":"2026-04-03T20:32:30.102Z","avatar_url":"https://github.com/shahradelahi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  \u003csup\u003e@se-oss/slugify\u003c/sup\u003e\n  \u003cbr\u003e\n  \u003ca href=\"https://github.com/shahradelahi/ts-slugify/actions/workflows/ci.yml\"\u003e\u003cimg src=\"https://github.com/shahradelahi/ts-slugify/actions/workflows/ci.yml/badge.svg?branch=main\u0026event=push\" alt=\"CI\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.com/package/@se-oss/slugify\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@se-oss/slugify.svg\" alt=\"NPM Version\"\u003e\u003c/a\u003e\n  \u003ca href=\"/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/License-MIT-blue.svg?style=flat\" alt=\"MIT License\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://bundlephobia.com/package/@se-oss/slugify\"\u003e\u003cimg src=\"https://img.shields.io/bundlephobia/minzip/@se-oss/slugify\" alt=\"npm bundle size\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://packagephobia.com/result?p=@se-oss/slugify\"\u003e\u003cimg src=\"https://packagephobia.com/badge?p=@se-oss/slugify\" alt=\"Install Size\"\u003e\u003c/a\u003e\n\u003c/h1\u003e\n\n_@se-oss/slugify_ is a high-performance, strictly typed slugification library with support for Unicode transliteration, smart casing, and custom character preservation.\n\n---\n\n- [Installation](#-installation)\n- [Usage](#-usage)\n- [Documentation](#-documentation)\n- [Performance](#-performance)\n- [Contributing](#-contributing)\n- [License](#license)\n\n## 📦 Installation\n\n```bash\nnpm install @se-oss/slugify\n```\n\n\u003cdetails\u003e\n\u003csummary\u003eInstall using your favorite package manager\u003c/summary\u003e\n\n**pnpm**\n\n```bash\npnpm install @se-oss/slugify\n```\n\n**yarn**\n\n```bash\nyarn add @se-oss/slugify\n```\n\n\u003c/details\u003e\n\n## 📖 Usage\n\n### Basic\n\n```typescript\nimport slugify from '@se-oss/slugify';\n\nslugify('I ♥ Cats');\n//=\u003e 'i-love-cats'\n\nslugify('  Déjà Vu!  ');\n//=\u003e 'deja-vu'\n\nslugify('я люблю единорогов');\n//=\u003e 'ya-lyublyu-edinorogov'\n```\n\n### Advanced Features\n\n- **Smart Decamelization**: Automatically handles camelCase and PascalCase.\n- **Character Preservation**: Keep specific symbols like `#` or `@` as-is.\n- **Collision Handling**: Generate unique slugs using a counter.\n- **Transliteration**: Powered by `@se-oss/transliterate` for robust script support.\n\n```typescript\nimport { slugifyWithCounter } from '@se-oss/slugify';\n\nslugify('fooBar 123 $#%', { decamelize: true });\n//=\u003e 'foo-bar-123'\n\nconst slug = slugifyWithCounter();\nslug('foo bar'); //=\u003e 'foo-bar'\nslug('foo bar'); //=\u003e 'foo-bar-2'\n```\n\n## 📚 Documentation\n\nFor more information, please see the [API docs](https://www.jsdocs.io/package/@se-oss/slugify).\n\n## 🚀 Performance\n\n| Library               | hz             | min    | max    | mean   | p99    | rme    |\n| :-------------------- | :------------- | :----- | :----- | :----- | :----- | :----- |\n| **@se-oss/slugify**   | **336,028.90** | 0.0027 | 2.4412 | 0.0030 | 0.0048 | ±0.98% |\n| simov/slugify         | 323,177.82     | 0.0028 | 0.2437 | 0.0031 | 0.0038 | ±0.21% |\n| @sindresorhus/slugify | 1,936.71       | 0.4814 | 3.0069 | 0.5163 | 0.8098 | ±1.22% |\n\n\u003e **Result:** @se-oss/slugify is **173x faster** than @sindresorhus/slugify.\n\n_Benchmark script: [`bench/index.bench.ts`](bench/index.bench.ts)_\n\n## 🤝 Contributing\n\nWant to contribute? Awesome! To show your support is to star the project, or to raise issues on [GitHub](https://github.com/shahradelahi/ts-slugify).\n\nThanks again for your support, it is much appreciated! 🙏\n\n## License\n\n[MIT](/LICENSE) © [Shahrad Elahi](https://github.com/shahradelahi) and [contributors](https://github.com/shahradelahi/ts-slugify/graphs/contributors).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshahradelahi%2Fts-slugify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshahradelahi%2Fts-slugify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshahradelahi%2Fts-slugify/lists"}