{"id":21681833,"url":"https://github.com/alvarocastro/copy-case","last_synced_at":"2026-05-03T05:32:18.295Z","repository":{"id":40211514,"uuid":"205906723","full_name":"alvarocastro/copy-case","owner":"alvarocastro","description":"Copy the case from one string into another","archived":false,"fork":false,"pushed_at":"2023-01-24T14:03:01.000Z","size":1392,"stargazers_count":0,"open_issues_count":14,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T14:46:44.933Z","etag":null,"topics":["case-converter","string","strings","strings-manipulation"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/copy-case","language":"JavaScript","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/alvarocastro.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2019-09-02T17:36:23.000Z","updated_at":"2021-05-06T22:30:37.000Z","dependencies_parsed_at":"2023-02-13T22:00:34.742Z","dependency_job_id":null,"html_url":"https://github.com/alvarocastro/copy-case","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvarocastro%2Fcopy-case","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvarocastro%2Fcopy-case/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvarocastro%2Fcopy-case/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alvarocastro%2Fcopy-case/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alvarocastro","download_url":"https://codeload.github.com/alvarocastro/copy-case/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244600674,"owners_count":20479304,"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-converter","string","strings","strings-manipulation"],"created_at":"2024-11-25T15:31:54.470Z","updated_at":"2026-05-03T05:32:13.264Z","avatar_url":"https://github.com/alvarocastro.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Copy Case\n\n[![NPM](https://img.shields.io/npm/v/copy-case)](https://www.npmjs.com/package/copy-case)\n[![Build status](https://img.shields.io/github/workflow/status/alvarocastro/copy-case/build)](https://github.com/alvarocastro/copy-case/actions?query=workflow%3Abuild)\n[![Maintainability status](https://img.shields.io/codeclimate/maintainability/alvarocastro/copy-case)](https://codeclimate.com/github/alvarocastro/copy-case/maintainability)\n[![Coverage status](https://img.shields.io/coveralls/github/alvarocastro/copy-case)](https://coveralls.io/github/alvarocastro/copy-case?branch=master)\n[![Bundle size](https://img.shields.io/bundlephobia/min/copy-case)](https://bundlephobia.com/result?p=copy-case)\n[![Code style: XO](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo)\n[![Release: Semantic](https://img.shields.io/badge/%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n\nCopy the case from one string into another.\n\n- [Install](#install)\n- [Usage](#usage)\n- [Contributing](#contributing)\n- [Support](#support)\n\n## Install\n\n```bash\nnpm install copy-case\n```\n\n## Usage\n\n```js\nconst copyCase = require('copy-case');\n\ncopyCase('something', 'AnYThinG');\n// =\u003e 'SoMEthiNg'\n```\n\n### copyCase(target, source)\n\nReturns `target` string copying `source` string case.\n\n#### target\n\nType: `String`\n\nString to change the case.\n\n#### source\n\nType: `String`\n\nString to copy the case form.\n\n## Contributing\n\nContributions are always welcome! Please run `npm test` beforehand to ensure everything is ok.\n\n## Support\n\nIf you use this package please consider starring it :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falvarocastro%2Fcopy-case","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falvarocastro%2Fcopy-case","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falvarocastro%2Fcopy-case/lists"}