{"id":17345647,"url":"https://github.com/danmad/on-the-case","last_synced_at":"2026-04-02T01:50:30.847Z","repository":{"id":42633787,"uuid":"382497477","full_name":"DanMad/on-the-case","owner":"DanMad","description":"Extends JavaScript's native `String` object, including additional case conversion methods","archived":false,"fork":false,"pushed_at":"2024-08-30T13:57:35.000Z","size":1690,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2024-09-15T01:46:09.411Z","etag":null,"topics":["case-conversion","javascript","typescript"],"latest_commit_sha":null,"homepage":"https://github.com/danmad/on-the-case#readme","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/DanMad.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-07-03T01:12:30.000Z","updated_at":"2023-04-14T23:45:31.000Z","dependencies_parsed_at":"2023-02-10T01:00:26.245Z","dependency_job_id":"f0c26c1f-ec81-4886-841c-0fc22e2a9a16","html_url":"https://github.com/DanMad/on-the-case","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanMad%2Fon-the-case","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanMad%2Fon-the-case/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanMad%2Fon-the-case/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanMad%2Fon-the-case/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DanMad","download_url":"https://codeload.github.com/DanMad/on-the-case/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219843292,"owners_count":16556508,"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":["case-conversion","javascript","typescript"],"created_at":"2024-10-15T16:43:09.318Z","updated_at":"2025-12-26T04:01:46.048Z","avatar_url":"https://github.com/DanMad.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# onTheCase.js\n\nExtends JavaScript's native `String` object, including additional\ncase conversion methods.\n\n## Table of Contents\n\n- [Getting Started](#getting-started)\n- [Usage](#usage)\n- [Issues](#issues)\n- [Contributing](#contributing)\n\n## Getting Started\n\nTo use _onTheCase.js_, add it to your project.\n\n```sh\nyarn add on-the-case\n```\n\nAlternatively, _onTheCase.js_ can be added to your project via CDN.\n\n```html\n\u003cscript href=\"https://unpkg.com/on-the-case/index.js\"\u003e\u003c/script\u003e\n```\n\n## Usage\n\nThe following case conversion methods are included in _onTheCase.js_.\n\n### Camel Case\n\nThe `toCamelCase()` method returns the calling string value converted to camel\ncase.\n\n#### Examples\n\n```js\n'Hello, World!'.toCamelCase();\n// =\u003e 'helloWorld'\n\n'The quick brown fox jumps over the lazy dog.'.toCamelCase();\n// =\u003e 'theQuickBrownFoxJumpsOverTheLazyDog'\n```\n\n### Kebab Case\n\nThe `toKebabCase()` method returns the calling string value converted to kebab\ncase.\n\n#### Examples\n\n```js\n'Hello, World!'.toKebabCase();\n// =\u003e 'hello-world'\n\n'the-quick-brown-fox-jumps-over-the-lazy-dog.'.toKebabCase();\n// =\u003e 'the-quick-brown-fox-jumps-over-the-lazy-dog'\n```\n\n### Pascal Case\n\nThe `toPascalCase()` method returns the calling string value converted to pascal\ncase.\n\n#### Examples\n\n```js\n'Hello, World!'.toPascalCase();\n// =\u003e 'HelloWorld'\n\n'The quick brown fox jumps over the lazy dog.'.toPascalCase();\n// =\u003e 'TheQuickBrownFoxJumpsOverTheLazyDog'\n```\n\n### Snake Case\n\nThe `toSnakeCase()` method returns the calling string value converted to snake\ncase.\n\n#### Examples\n\n```js\n'Hello, World!'.toSnakeCase();\n// =\u003e 'hello_world'\n\n'The quick brown fox jumps over the lazy dog.'.toSnakeCase();\n// =\u003e 'the_quick_brown_fox_jumps_over_the_lazy_dog'\n```\n\n### Title Case\n\nThe `toTitleCase()` method returns the calling string value converted to title\ncase.\n\n#### Examples\n\n```js\n'Hello, World!'.toTitleCase();\n// =\u003e 'Hello, World!'\n\n'The quick brown fox jumps over the lazy dog.'.toTitleCase();\n// =\u003e 'The Quick Brown Fox Jumps Over the Lazy Dog.'\n```\n\n## Issues\n\nIf you encounter any bugs, please\n[post an issue](https://github.com/DanMad/on-the-case/issues/new).\n\n## Contributing\n\nContributions are more than welcome. Ensure you read through the\n[contributing guidelines](https://github.com/DanMad/on-the-case/blob/main/CONTRIBUTING.md)\nbefore submitting a pull request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanmad%2Fon-the-case","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanmad%2Fon-the-case","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanmad%2Fon-the-case/lists"}