{"id":17267330,"url":"https://github.com/imcvampire/case-converter","last_synced_at":"2025-10-27T06:01:44.101Z","repository":{"id":41062694,"uuid":"107767373","full_name":"imcvampire/case-converter","owner":"imcvampire","description":"transform object keys to different cases ","archived":false,"fork":false,"pushed_at":"2022-06-28T05:47:20.000Z","size":211,"stargazers_count":3,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-30T05:05:27.393Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"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/imcvampire.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":"2017-10-21T09:22:48.000Z","updated_at":"2024-11-05T10:21:06.000Z","dependencies_parsed_at":"2022-09-06T19:40:27.636Z","dependency_job_id":null,"html_url":"https://github.com/imcvampire/case-converter","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/imcvampire/case-converter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imcvampire%2Fcase-converter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imcvampire%2Fcase-converter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imcvampire%2Fcase-converter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imcvampire%2Fcase-converter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imcvampire","download_url":"https://codeload.github.com/imcvampire/case-converter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imcvampire%2Fcase-converter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267815187,"owners_count":24148356,"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","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-15T08:10:22.570Z","updated_at":"2025-10-27T06:01:43.972Z","avatar_url":"https://github.com/imcvampire.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# case-converter [![npm version](https://badge.fury.io/js/case-converter.svg)](https://badge.fury.io/js/case-converter) [![Build Status](https://travis-ci.org/travelperk/case-converter.svg?branch=master)](https://travis-ci.org/travelperk/case-converter) [![codecov](https://codecov.io/gh/travelperk/case-converter/branch/master/graph/badge.svg)](https://codecov.io/gh/travelperk/case-converter) [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square)](https://github.com/semantic-release/semantic-release)\n\nA lightweight library that converts objects to different case conventions. Great for consuming APIs of services with different conventions, e.g. Python or Ruby.\n\n[Demo](https://tonicdev.com/npm/case-converter)\n\n## Features\n- `toCamelCase`\n- `toSnakeCase`\n- `toKebabCase`\n- `toPascalCase`\n\n## Install\n`npm install case-converter`\n\n## Example:\n\n```JavaScript\n  import { toCamelCase } from 'case-converter'\n\n  const snakeCase = {\n    an_object: {\n      'kebab-case': 'nested content',\n      nested_array: [{ an_object: 'something' }]\n    },\n    an_array: [\n      { zero_index: 0 },\n      { one_index: 1 }\n    ]\n  }\n\n  const camelCase = toCamelCase(snakeCase);\n\n  console.log(camelCase)\n  /*\n    {\n      anObject: {\n        kebabCase: 'nested content',\n        nestedArray: [{ anObject: 'something' }]\n      },\n      anArray: [\n        { zeroIndex: 0 },\n        { oneIndex: 1 }\n      ]\n    }\n  */\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimcvampire%2Fcase-converter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimcvampire%2Fcase-converter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimcvampire%2Fcase-converter/lists"}