{"id":15087752,"url":"https://github.com/einar-hjortdal/slugify","last_synced_at":"2025-09-26T08:30:54.610Z","repository":{"id":175057816,"uuid":"653126315","full_name":"einar-hjortdal/slugify","owner":"einar-hjortdal","description":"Generate slug from string, includes custom and language-specific transliterations","archived":false,"fork":false,"pushed_at":"2024-12-07T08:04:13.000Z","size":29,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"live","last_synced_at":"2024-12-07T08:24:59.904Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"V","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"ncsa","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/einar-hjortdal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","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}},"created_at":"2023-06-13T13:03:23.000Z","updated_at":"2024-12-07T07:46:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"cb3198f4-5016-4cfd-974c-41bd00a70b44","html_url":"https://github.com/einar-hjortdal/slugify","commit_stats":null,"previous_names":["coachonko/slugify","einar-hjortdal/slugify"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/einar-hjortdal%2Fslugify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/einar-hjortdal%2Fslugify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/einar-hjortdal%2Fslugify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/einar-hjortdal%2Fslugify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/einar-hjortdal","download_url":"https://codeload.github.com/einar-hjortdal/slugify/tar.gz/refs/heads/live","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234299056,"owners_count":18810420,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-09-25T08:01:04.164Z","updated_at":"2025-09-26T08:30:49.311Z","avatar_url":"https://github.com/einar-hjortdal.png","language":"V","funding_links":[],"categories":["Libraries"],"sub_categories":["Text processing"],"readme":"# slugify\n\nGenerate slug from string\n\n## Features\n\n- language-specific transliteration toggle\n- custom replacement map support\n- truncate at maximum character length\n- truncate at the end of a word before given maximum character length\n- transform to lowercase toggle\n\n## Usage\n\nInstall with `v install einar-hjortdal.slugify`\n\n```V\nimport einar_hjortdal.slugify\n\nslugifier := slugify.default()\nslug := slugifier.make('Slugs are NOT snails') // slugs-are-not-snails\n```\n\nPlease refer to [slugify_test.v](./slugify_test.v) for more information.\n\n## Notes\n\n`make` and `make_lang` return a string that:\n- contains exclusively word characters (`\\w`) and hyphens (`-`).\n- does not start nor end with hyphens (`-`) or underscores (`_`).\n- **may be empty**: if the given string contains exclusively non-word characters and those characters \nare not contained in the `substitutions.v` file.\n\nPull requests are welcome to add support for more languages. To add subsitutions or a whole new language, \nplease look at the [substitutions.v](./substitutions.v) file and at the [CONTRIBUTING.md](./CONTRIBUTING.md) \nfile.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feinar-hjortdal%2Fslugify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feinar-hjortdal%2Fslugify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feinar-hjortdal%2Fslugify/lists"}