{"id":24430674,"url":"https://github.com/dc0d/caseconv","last_synced_at":"2025-06-12T17:31:58.092Z","repository":{"id":51351792,"uuid":"122617663","full_name":"dc0d/caseconv","owner":"dc0d","description":"snake, kebab, camel, pascal case conversion","archived":false,"fork":false,"pushed_at":"2021-05-13T21:09:59.000Z","size":35,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-12T12:53:44.933Z","etag":null,"topics":["camel-case","golang","kebab-case","pascal-case","snake-case","string-casing"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/dc0d.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":".github/CODEOWNERS","security":null,"support":null}},"created_at":"2018-02-23T12:18:14.000Z","updated_at":"2024-10-16T16:01:53.000Z","dependencies_parsed_at":"2022-08-26T08:23:28.123Z","dependency_job_id":null,"html_url":"https://github.com/dc0d/caseconv","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/dc0d/caseconv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dc0d%2Fcaseconv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dc0d%2Fcaseconv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dc0d%2Fcaseconv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dc0d%2Fcaseconv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dc0d","download_url":"https://codeload.github.com/dc0d/caseconv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dc0d%2Fcaseconv/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259512034,"owners_count":22869330,"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":["camel-case","golang","kebab-case","pascal-case","snake-case","string-casing"],"created_at":"2025-01-20T14:57:29.803Z","updated_at":"2025-06-12T17:31:58.071Z","avatar_url":"https://github.com/dc0d.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![PkgGoDev](https://pkg.go.dev/badge/dc0d/caseconv)](https://pkg.go.dev/github.com/dc0d/caseconv) [![Go Report Card](https://goreportcard.com/badge/github.com/dc0d/caseconv)](https://goreportcard.com/report/github.com/dc0d/caseconv) [![Maintainability](https://api.codeclimate.com/v1/badges/a0306f7932dae43bbda5/maintainability)](https://codeclimate.com/github/dc0d/caseconv/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/a0306f7932dae43bbda5/test_coverage)](https://codeclimate.com/github/dc0d/caseconv/test_coverage)\n\n# caseconv\n\nThis is a Go Module for snake, kebab, camel, pascal case conversion.\n\nIt can be used like:\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/dc0d/caseconv\"\n)\n\nfunc main() {\n\tinput := \"The quick brown fox jumps over the lazy dog\"\n\n\tfmt.Println(caseconv.ToCamel(input))\n\tfmt.Println(caseconv.ToPascal(input))\n\tfmt.Println(caseconv.ToKebab(input))\n\tfmt.Println(caseconv.ToSnake(input))\n}\n```\n\nAnd the output would be:\n\n```\ntheQuickBrownFoxJumpsOverTheLazyDog\nTheQuickBrownFoxJumpsOverTheLazyDog\nthe-quick-brown-fox-jumps-over-the-lazy-dog\nthe_quick_brown_fox_jumps_over_the_lazy_dog\n```\n\n\u003e Most of test cases are from [change-case](https://github.com/blakeembrey/change-case) node package - so far. But the goal was not to follow same conventions.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdc0d%2Fcaseconv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdc0d%2Fcaseconv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdc0d%2Fcaseconv/lists"}