{"id":17129618,"url":"https://github.com/janos/casbab","last_synced_at":"2025-04-13T07:21:48.108Z","repository":{"id":57480895,"uuid":"76172591","full_name":"janos/casbab","owner":"janos","description":"CLI tool and a Go library for Camel/Snake/Kebab case conversion","archived":false,"fork":false,"pushed_at":"2024-01-07T23:17:08.000Z","size":22,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-26T23:35:21.657Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/janos.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}},"created_at":"2016-12-11T12:20:37.000Z","updated_at":"2024-02-20T21:23:21.000Z","dependencies_parsed_at":"2024-06-19T22:52:08.338Z","dependency_job_id":"12f938fd-87b7-400b-95e0-7d217fbc4f25","html_url":"https://github.com/janos/casbab","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janos%2Fcasbab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janos%2Fcasbab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janos%2Fcasbab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/janos%2Fcasbab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/janos","download_url":"https://codeload.github.com/janos/casbab/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248676358,"owners_count":21143915,"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-10-14T19:10:07.432Z","updated_at":"2025-04-13T07:21:48.050Z","avatar_url":"https://github.com/janos.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Camel Snake Kebab\n\nCLI tool and a Go library for converting representation style of compound words or phrases.\n\n[![GoDoc](https://godoc.org/resenje.org/casbab?status.svg)](https://godoc.org/resenje.org/casbab)\n\n## Installation\n\n```sh\ngo get resenje.org/casbab/cmd/casbab\n```\n\n```sh\ndocker pull janos/casbab\n```\n\n## Example usage\n\n```sh\ncasbab screaming-snake \"Camel Snake Kebab\"\nenv | cut -d= -f1 | casbab kebab\n```\n\n```sh\ndocker run --rm janos/casbab screaming-snake \"Camel Snake Kebab\"\nenv | cut -d= -f1 | docker run --rm -i janos/casbab kebab\n```\n\n## Performance\n\nBenchmarks run on MacBook Pro M1Pro yield these timings:\n\n```\ngoos: darwin\ngoarch: arm64\npkg: resenje.org/casbab\nBenchmarkCamel\nBenchmarkCamel-10               3493452        336.7 ns/op      208 B/op        2 allocs/op\nBenchmarkPascal\nBenchmarkPascal-10              3532380        340.4 ns/op      208 B/op        2 allocs/op\nBenchmarkSnake\nBenchmarkSnake-10               3257454        366.4 ns/op      288 B/op        3 allocs/op\nBenchmarkCamelSnake\nBenchmarkCamelSnake-10          3164365        378.6 ns/op      288 B/op        3 allocs/op\nBenchmarkScreamingSnake\nBenchmarkScreamingSnake-10      2887975        415.8 ns/op      288 B/op        3 allocs/op\nBenchmarkKebab\nBenchmarkKebab-10               3232392        371.3 ns/op      288 B/op        3 allocs/op\nBenchmarkCamelKebab\nBenchmarkCamelKebab-10          3160936        382.2 ns/op      288 B/op        3 allocs/op\nBenchmarkScreamingKebab\nBenchmarkScreamingKebab-10      2873886        420.2 ns/op      288 B/op        3 allocs/op\nBenchmarkLower\nBenchmarkLower-10               3300728        369.9 ns/op      288 B/op        3 allocs/op\nBenchmarkTitle\nBenchmarkTitle-10               3079971        380.6 ns/op      288 B/op        3 allocs/op\nBenchmarkScreaming\nBenchmarkScreaming-10           2898652        417.5 ns/op      288 B/op        3 allocs/op\nPASS\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanos%2Fcasbab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjanos%2Fcasbab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanos%2Fcasbab/lists"}