{"id":20306269,"url":"https://github.com/comfortablycoding/directus-operation-slugify","last_synced_at":"2025-06-30T21:06:55.635Z","repository":{"id":227194958,"uuid":"770730522","full_name":"ComfortablyCoding/directus-operation-slugify","owner":"ComfortablyCoding","description":"A Directus slugify operation for Flows","archived":false,"fork":false,"pushed_at":"2024-07-12T14:30:31.000Z","size":129,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-15T03:47:39.342Z","etag":null,"topics":["directus","directus-extension","directus-extension-operation","slug","slugify"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/directus-operation-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/ComfortablyCoding.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}},"created_at":"2024-03-12T03:52:50.000Z","updated_at":"2025-04-30T16:46:33.000Z","dependencies_parsed_at":"2024-03-12T05:23:00.934Z","dependency_job_id":"128826f0-0883-438a-80f0-37e40d492a11","html_url":"https://github.com/ComfortablyCoding/directus-operation-slugify","commit_stats":null,"previous_names":["comfortablycoding/directus-operation-slugify"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/ComfortablyCoding/directus-operation-slugify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ComfortablyCoding%2Fdirectus-operation-slugify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ComfortablyCoding%2Fdirectus-operation-slugify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ComfortablyCoding%2Fdirectus-operation-slugify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ComfortablyCoding%2Fdirectus-operation-slugify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ComfortablyCoding","download_url":"https://codeload.github.com/ComfortablyCoding/directus-operation-slugify/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ComfortablyCoding%2Fdirectus-operation-slugify/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259919109,"owners_count":22932047,"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":["directus","directus-extension","directus-extension-operation","slug","slugify"],"created_at":"2024-11-14T17:12:42.062Z","updated_at":"2025-06-30T21:06:55.609Z","avatar_url":"https://github.com/ComfortablyCoding.png","language":"TypeScript","readme":"# directus-operation-slugify\n\nA [Directus](https://directus.io/) slugify [operation](https://docs.directus.io/app/flows/operations.html) for [Flows](https://docs.directus.io/app/flows.html#flows). It automatically handles most major languages, including German (umlauts), Vietnamese, Arabic, Russian, and more.\n\n## Install\n\n###### NPM\n\n```shell\nnpm install directus-operation-slugify\n```\n\n###### YARN\n\n```shell\nyarn add directus-operation-slugify\n```\n\n###### PNPM\n\n```shell\npnpm add directus-operation-slugify\n```\n\n## Options\n\n### Separator\n\nThe separator to use between words. Defaults to `-`.\n\n### Lowercase\n\nConvert all string lowercase. Defaults to `true`.\n\n### Decamelize\n\nConvert camelcase to separate words (e.g. `loremIpsum` -\u003e `lorem ipsum`). Defaults to `true`\n\n### Custom Replacements\n\nReplace specific characters or words with alternatives (.e.g `\u0026` -\u003e `and`). Adding a leading and trailing space to the replacement will have it separated by dashes. Defaults to `'\u0026'` -\u003e `' and '`.\n\n## Output\n\nAn object containing the slugified input.\n\n```json\n{ \"slug\": \"[slug]\" }\n```\n\n## Bugs\n\nIf any bugs are found please report them as a [Github Issue](https://github.com/ComfortablyCoding/directus-operation-slugify/issues)\n\n## License\n\n[MIT](https://github.com/ComfortablyCoding/directus-operation-slugify/blob/main/LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomfortablycoding%2Fdirectus-operation-slugify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcomfortablycoding%2Fdirectus-operation-slugify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomfortablycoding%2Fdirectus-operation-slugify/lists"}