{"id":16075850,"url":"https://github.com/b2evandro/refactor-string","last_synced_at":"2025-08-05T02:25:19.519Z","repository":{"id":172143587,"uuid":"610945794","full_name":"b2evandro/refactor-string","owner":"b2evandro","description":"Ajustar \"Ç\" no código fica fácil assim","archived":false,"fork":false,"pushed_at":"2023-11-07T14:24:09.000Z","size":1735,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-25T07:07:37.696Z","etag":null,"topics":["bohr-deployed"],"latest_commit_sha":null,"homepage":"https://refactor-string-b2evandro.bohr.io","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/b2evandro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-03-07T19:54:39.000Z","updated_at":"2023-11-07T14:22:55.000Z","dependencies_parsed_at":"2024-11-25T09:39:01.034Z","dependency_job_id":null,"html_url":"https://github.com/b2evandro/refactor-string","commit_stats":null,"previous_names":["b2evandro/refactor-string"],"tags_count":0,"template":false,"template_full_name":"bohr-io/nextjs-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b2evandro%2Frefactor-string","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b2evandro%2Frefactor-string/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b2evandro%2Frefactor-string/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b2evandro%2Frefactor-string/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/b2evandro","download_url":"https://codeload.github.com/b2evandro/refactor-string/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244555495,"owners_count":20471437,"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":["bohr-deployed"],"created_at":"2024-10-09T09:22:34.137Z","updated_at":"2025-03-20T05:23:41.728Z","avatar_url":"https://github.com/b2evandro.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Normalize\n\n A partir do JavaScript ES 6 (2015), existe um recurso chamado Normalize que permite substituir acentos por caracteres sem acentuação.\n Para brasileiros e latinos isso ajuda a não quebrar a aplicação com nomes locais. \n\n\nNo exemplo só deixei letras e número.\n ```JavaScript\nfunction convertName(nameInput){\n\nreturn nameInput.normalize(\"NFD\").replace(/[^a-zA-Z\\s0-9]/g, \"\");\n}\n\nconvertName(\"São Paulo\")\n\n// output \"Sao Paulo\"\n ```\n \n Mas é possível alterar a string com outras opções.\n \n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb2evandro%2Frefactor-string","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fb2evandro%2Frefactor-string","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb2evandro%2Frefactor-string/lists"}