{"id":13673253,"url":"https://github.com/jcardama/deno_slugify","last_synced_at":"2025-10-20T19:02:12.793Z","repository":{"id":56482037,"uuid":"188267210","full_name":"jcardama/deno_slugify","owner":"jcardama","description":"A string slugifier","archived":false,"fork":false,"pushed_at":"2020-11-04T21:49:43.000Z","size":37,"stargazers_count":19,"open_issues_count":2,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-31T13:42:31.446Z","etag":null,"topics":["deno","slugify","string-manipulation"],"latest_commit_sha":null,"homepage":null,"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/jcardama.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}},"created_at":"2019-05-23T16:08:27.000Z","updated_at":"2025-02-03T23:56:46.000Z","dependencies_parsed_at":"2022-08-15T19:31:35.120Z","dependency_job_id":null,"html_url":"https://github.com/jcardama/deno_slugify","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/jcardama/deno_slugify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcardama%2Fdeno_slugify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcardama%2Fdeno_slugify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcardama%2Fdeno_slugify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcardama%2Fdeno_slugify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jcardama","download_url":"https://codeload.github.com/jcardama/deno_slugify/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcardama%2Fdeno_slugify/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280143860,"owners_count":26279881,"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","status":"online","status_checked_at":"2025-10-20T02:00:06.978Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["deno","slugify","string-manipulation"],"created_at":"2024-08-02T10:00:32.040Z","updated_at":"2025-10-20T19:02:12.751Z","avatar_url":"https://github.com/jcardama.png","language":"TypeScript","funding_links":[],"categories":["基础设施","Uncategorized","Modules"],"sub_categories":["Deno 源","Uncategorized","Online Playgrounds","String utils","Assistants"],"readme":"# Deno Slugify [![Build Status](https://github.com/jcardama/deno_slugify/workflows/CI/badge.svg?branch=master\u0026event=push)](ttps://github.com/jcardama/deno_slugify/actions) [![Build Status](https://travis-ci.org/jcardama/deno_slugify.svg?branch=master)](https://travis-ci.org/jcardama/deno_slugify)\n\nA string slugifier\n\n```js\nimport { slugify } from \"https://deno.land/x/slugify/mod.ts\";\n\nslugify('some string') // some-string\n\n// if you prefer something other than '-' as separator\nslugify('some string', '_')  // some_string\n```\n\n## Options\n\n```js\nslugify('some string', {\n  replacement: '-',    // replace spaces with replacement\n  remove: null,        // regex to remove characters\n  lower: true          // result in lower case\n})\n```\n\n## Extend\n\nOut of the box `slugify` comes with support for a handful of Unicode symbols. For example the `☢` (radioactive) symbol is not defined in the `charMap` object in [index.js][index] and therefore it will be stripped by default:\n\n```js\nslugify('unicode ♥ is ☢') // unicode-love-is\n```\n\nHowever you can extend the supported symbols, or override the existing ones with your own:\n\n```js\nslugify.extend({'☢': 'radioactive'})\nslugify('unicode ♥ is ☢') // unicode-love-is-radioactive\n```\n\nKeep in mind that the `extend` method extends/overrides the default `charMap` for the entire process.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcardama%2Fdeno_slugify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjcardama%2Fdeno_slugify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcardama%2Fdeno_slugify/lists"}