{"id":42489710,"url":"https://github.com/stein197/js-caser","last_synced_at":"2026-01-28T11:48:17.909Z","repository":{"id":57162866,"uuid":"425258363","full_name":"stein197/js-caser","owner":"stein197","description":"String case converter and parser","archived":false,"fork":false,"pushed_at":"2023-03-07T07:43:11.000Z","size":28,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-23T15:05:34.259Z","etag":null,"topics":["camelcase","case","casing","coverter"],"latest_commit_sha":null,"homepage":"","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/stein197.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-11-06T14:01:04.000Z","updated_at":"2021-12-30T12:47:27.000Z","dependencies_parsed_at":"2022-09-01T11:10:21.333Z","dependency_job_id":null,"html_url":"https://github.com/stein197/js-caser","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/stein197/js-caser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stein197%2Fjs-caser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stein197%2Fjs-caser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stein197%2Fjs-caser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stein197%2Fjs-caser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stein197","download_url":"https://codeload.github.com/stein197/js-caser/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stein197%2Fjs-caser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28845097,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T10:53:21.605Z","status":"ssl_error","status_checked_at":"2026-01-28T10:53:20.789Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["camelcase","case","casing","coverter"],"created_at":"2026-01-28T11:48:17.380Z","updated_at":"2026-01-28T11:48:17.902Z","avatar_url":"https://github.com/stein197.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# String case converter and parser\n[![](https://img.shields.io/github/license/stein197/js-caser)](LICENSE)\n![](https://img.shields.io/npm/v/@stein197/caser)\n\nThis tiny package provides means for converting strings between different cases - such as converting `camelCase` to `snake_case` and so on.\n\n## Installation\n```\nnpm install @stein197/caser\n```\n\n## Usage:\n```ts\nimport * as caser from \"@stein197/caser\";\n\ncaser.covert(\"HTMLElement\", \"header\", true); // \"HTML-Element\"\ncaser.convert(\"CONSTANT_VALUE\", {separator: \"-\", leadCharCase: \"upper\", firstCharCase: \"upper\", case: \"lower\"}, false); // \"Constant-Value\"\ncaser.split(\"camelCase\"); // [\"camel\", \"Case\"]\n```\n\n### Predefined cases\n- `flat` flatcase\n- `camel` camelCase\n- `header` Header-Case\n- `kebab` kebab-case\n- `pascal` PascalCase\n- `snake` snake_case\n- `upper` UPPER_CASE\n- `train` TRAIN-CASE\n\u003e For detailed documentation, refer to the source code docblocks\n\n## NPM scripts\n- `clean` cleans working directory from compiled files\n- `build` compiles source code\n- `test` runs unit tests\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstein197%2Fjs-caser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstein197%2Fjs-caser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstein197%2Fjs-caser/lists"}