{"id":19959529,"url":"https://github.com/vandot/casbab","last_synced_at":"2025-07-10T12:40:31.534Z","repository":{"id":114454253,"uuid":"90202742","full_name":"vandot/casbab","owner":"vandot","description":"CLI \"tool\" and a bash \"library\" for Camel/Snake/Kebab case conversion","archived":false,"fork":false,"pushed_at":"2017-08-27T20:17:06.000Z","size":8,"stargazers_count":30,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-03T21:32:42.586Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/vandot.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,"zenodo":null}},"created_at":"2017-05-03T23:44:56.000Z","updated_at":"2025-01-02T20:36:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"f34076b0-4cba-48ff-89d2-e8d467cb0ec1","html_url":"https://github.com/vandot/casbab","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vandot/casbab","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vandot%2Fcasbab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vandot%2Fcasbab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vandot%2Fcasbab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vandot%2Fcasbab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vandot","download_url":"https://codeload.github.com/vandot/casbab/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vandot%2Fcasbab/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264579093,"owners_count":23631560,"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-11-13T01:48:07.106Z","updated_at":"2025-07-10T12:40:31.529Z","avatar_url":"https://github.com/vandot.png","language":"Shell","readme":"# Camel Snake Kebab\n\nCLI \"tool\" and a bash \"library\" for converting representation style of compound words or phrases.\nInspired by and bash port of [casbab](https://github.com/janos/casbab).\n\n[![Build Status](https://travis-ci.org/vandot/casbab.svg?branch=master)](https://travis-ci.org/vandot/casbab)\n[![Docker Stars](https://img.shields.io/docker/stars/vandot/casbab.svg)](https://hub.docker.com/r/vandot/casbab/)\n[![Docker Pulls](https://img.shields.io/docker/pulls/vandot/casbab.svg)](https://hub.docker.com/r/vandot/casbab/)\n\nSupports '_', '-' or ' ' as a delimiter and case change inside string. Mixed usage of delimiters and case change is not supported. First delimiter that could be found is going to be used as a delimiter, case change is used only when there are no delimiters. Empty string input will return empty string.\n\n## Installation\n\n```sh\nGit clone, copy paste casbab.sh or docker pull vandot/casbab :D\n```\n\n## Example usage\n\nYou can use casbab as a library and source it inside your script, send string as a argument or read it from stdin.\n\n```sh\n$ ./casbab.sh pascal Camel Snake Kebab\n$ CamelSnakeKebab\n\n$ echo camel-Snake-Kebab | ./casbab.sh camel\n$ camelSnakeKebab\n\n$ ./casbab.sh snake CamelSnakeKebab\n$ camel_snake_kebab\n\n$ echo Camel-Snake-keBaB | ./casbab.sh camelsnake\n$ Camel_Snake_Kebab\n\n$ ./casbab.sh screamingsnake camel____snake_kebab \n$ CAMEL_SNAKE_KEBAB\n\n$ echo camelSNAKEKebab | ./casbab.sh kebab\n$ camel-snake-kebab\n  \n$ ./casbab.sh camelkebab camel---snake-kebab\n$ Camel-Snake-Kebab\n  \n$ echo \"camel--SNAKE---Kebab\" | ./casbab.sh screamingkebab \n$ CAMEL-SNAKE-KEBAB\n  \n$ ./casbab.sh lower CAmEL-SNaKE-KEbAB\n$ camel snake kebab\n\n$ echo camel_snake_kebab | ./casbab.sh title\n$ Camel Snake Kebab\n\n$ ./casbab.sh screaming camel_Snake____kebab\n$ CAMEL SNAKE KEBAB\n\n$ docker run --rm vandot/casbab pascal CamelSNAKEKebab\n$ CamelSnakeKebab\n```","funding_links":[],"categories":["Shell"],"sub_categories":["Shell Utils"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvandot%2Fcasbab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvandot%2Fcasbab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvandot%2Fcasbab/lists"}