{"id":26941920,"url":"https://github.com/kne-union/camel-case","last_synced_at":"2025-04-02T16:37:58.399Z","repository":{"id":57125123,"uuid":"262531169","full_name":"kne-union/camel-case","owner":"kne-union","description":"将字符串转化成驼峰","archived":false,"fork":false,"pushed_at":"2024-03-20T03:28:16.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-05T09:48:32.272Z","etag":null,"topics":["camelcase","string"],"latest_commit_sha":null,"homepage":"https://www.kne-union.top","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/kne-union.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":"2020-05-09T09:03:04.000Z","updated_at":"2024-03-20T05:40:54.000Z","dependencies_parsed_at":"2022-08-31T12:10:26.230Z","dependency_job_id":null,"html_url":"https://github.com/kne-union/camel-case","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kne-union%2Fcamel-case","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kne-union%2Fcamel-case/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kne-union%2Fcamel-case/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kne-union%2Fcamel-case/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kne-union","download_url":"https://codeload.github.com/kne-union/camel-case/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246852406,"owners_count":20844384,"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":["camelcase","string"],"created_at":"2025-04-02T16:37:57.736Z","updated_at":"2025-04-02T16:37:58.394Z","avatar_url":"https://github.com/kne-union.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# camel-case\n\n\n### 描述\n\n将字符串转化成驼峰\n\n\n### 安装\n\n```shell\nnpm i --save @kne/camel-case\n```\n\n\n### 概述\n\n用于将一个字符串转化为驼峰\n\n```js\nimport camel from '@kne/camel-case';\n\ncamel('user-info'); //UserInfo\n\ncamel('user-info', {caseStyle: 'lower'}); //UserInfo\n```\n\n\n### 示例\n\n\n#### 示例样式\n\n```scss\n.ant-card {\n  border-color: black;\n  text-align: center;\n  width: 200px;\n}\n```\n\n#### 示例代码\n\n- 这里填写示例标题\n- 这里填写示例说明\n- _CamelCase(@kne/camel-case)\n\n```jsx\nconst {default:camelCase} = _CamelCase;\n\nconst BaseExample = ()=\u003e{\n    return \u003cdiv\u003e\n        \u003cp\u003e输入: user-info,输出:{camelCase('user-info')}\u003c/p\u003e\n        \u003cp\u003e输入: user_info,输出:{camelCase('user_info')}\u003c/p\u003e\n    \u003c/div\u003e;\n};\n\nrender(\u003cBaseExample /\u003e);\n\n```\n\n\n### API\n\n|属性名|说明|类型|默认值|\n|  ---  | ---  | --- | --- |\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkne-union%2Fcamel-case","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkne-union%2Fcamel-case","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkne-union%2Fcamel-case/lists"}