{"id":16639339,"url":"https://github.com/orlowdev/case-transformer","last_synced_at":"2025-04-05T01:14:50.231Z","repository":{"id":44978154,"uuid":"192484005","full_name":"orlowdev/case-transformer","owner":"orlowdev","description":"Transform a kebab back to camel.","archived":false,"fork":false,"pushed_at":"2023-01-04T00:46:11.000Z","size":1072,"stargazers_count":1,"open_issues_count":11,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-11T21:05:18.453Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/orlowdev.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":null,"patreon":"priestine","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-06-18T06:59:19.000Z","updated_at":"2021-04-13T16:07:56.000Z","dependencies_parsed_at":"2023-02-01T15:32:06.426Z","dependency_job_id":null,"html_url":"https://github.com/orlowdev/case-transformer","commit_stats":null,"previous_names":["priestine/case-transformer"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orlowdev%2Fcase-transformer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orlowdev%2Fcase-transformer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orlowdev%2Fcase-transformer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orlowdev%2Fcase-transformer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orlowdev","download_url":"https://codeload.github.com/orlowdev/case-transformer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247271527,"owners_count":20911587,"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-12T07:05:47.426Z","updated_at":"2025-04-05T01:14:50.213Z","avatar_url":"https://github.com/orlowdev.png","language":"TypeScript","funding_links":["https://patreon.com/priestine"],"categories":[],"sub_categories":[],"readme":"# @priestine/case-transformer\n\n[![Build Status](https://travis-ci.org/priestine/case-transformer.svg?branch=master)](https://travis-ci.org/priestine/case-transformer)\n[![codecov](https://codecov.io/gh/priestine/case-transformer/branch/master/graph/badge.svg)](https://codecov.io/gh/priestine/case-transformer)\n[![npm](https://img.shields.io/npm/dt/@priestine/case-transformer.svg)](https://www.npmjs.com/package/@priestine/case-transformer)\n[![npm](https://img.shields.io/npm/v/@priestine/case-transformer.svg)](https://www.npmjs.com/package/@priestine/case-transformer)\n[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)\n[![versioning: semantics](https://img.shields.io/badge/versioning-semantics-912e5c.svg)](https://github.com/priestine/semantics)\n\nTransform kebab back to camel.  Or maybe make a kebab from Pascal.\n\n## Installation\n\n```bash\nnpm i -g @priestine/case-transformer\n```\n\n## Usage\n\nUNDER CONSTRUCTION!\n\n```javascript\nconst { transformCase, toUpperSnakeCase } = require('@priestine/case-transformer');\n\n// The eloquent and declarative way\nconst hw = transformCase('helloWorld').from.camel.to.kebab;\nhw; // hello-world\n\n// The deductive but dangerous way (there are dragons here!)\nconst H_W = toUpperSnakeCase('helloWorld');\nH_W; // HELLO_WORLD\n```\n\n```typescript\nimport { transformCase } from '@priestine/case-transformer';\n\n// The TypeScript-friendly way\nconst hW = transformCase('here.there').from.dot.to.snake.toString();\nhW; // here_there\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forlowdev%2Fcase-transformer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forlowdev%2Fcase-transformer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forlowdev%2Fcase-transformer/lists"}