{"versions":{"1.0.0":{"name":"@types/camelize","version":"1.0.0","description":"TypeScript definitions for camelize","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/camelize","license":"MIT","contributors":[{"name":"Tristan F.","githubUsername":"LeoDog896","url":"https://github.com/LeoDog896"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/camelize"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"105ba4af902aa2ad507a1c254fd1f2dd488296a169c9fb46aa29aeca448ae0b2","typeScriptVersion":"4.6","_id":"@types/camelize@1.0.0","dist":{"integrity":"sha512-DNQK/AZLPLp1/AKaU1zIpBEe1NmpdHuxSM2oAZjtQPg5p4erIZOoeG+tKEjN6h8Ujugs3FfOBMzTT2f2avOW2g==","shasum":"81357e8c4f0d87545fb29ceaa6e4fc5e66a9c69e","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/camelize/-/camelize-1.0.0.tgz","fileCount":5,"unpackedSize":3719,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQClMex77LXq0/9NyZ/BrAw3iWvdiQ4oSY7AGqO6IosWwwIhANM1carM2sq+OE/ug70JbsNT6fFl+yIV7RRO2SQQNazw"}]},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/camelize_1.0.0_1701812155127_0.8976458834831051"},"_hasShrinkwrap":false},"1.0.1":{"name":"@types/camelize","version":"1.0.1","license":"MIT","_id":"@types/camelize@1.0.1","maintainers":[{"name":"anonymous","email":"ts-npm-types@microsoft.com"}],"contributors":[{"url":"https://github.com/LeoDog896","name":"Tristan F.","githubUsername":"LeoDog896"}],"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/camelize","dist":{"shasum":"094b1f82b8856e1c9cb56fdec5480df214c64798","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@types/camelize/-/camelize-1.0.1.tgz","fileCount":5,"integrity":"sha512-cjq5IWLDnZjNQUffIs4dS9BqNn7wLryGwZaEGht32Qoh14tyQxV0jGo7Kus+oRciGDlAbNfKT0OgngduK8tOrA==","signatures":[{"sig":"MEUCIFrBKwLqQWwTlctjVHSUaQ37XmzcpbyderIqibXIwWKaAiEA9XOCgeWZlbB8D56jnfuTtY+faLcJxBBsBLzRTYdQh/w=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3805,"size":1803},"main":"","types":"index.d.ts","scripts":{},"_npmUser":{"name":"anonymous","email":"ts-npm-types@microsoft.com"},"repository":{"url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","type":"git","directory":"types/camelize"},"description":"TypeScript definitions for camelize","directories":{},"dependencies":{},"_hasShrinkwrap":false,"typeScriptVersion":"4.8","_npmOperationalInternal":{"tmp":"tmp/camelize_1.0.1_1722064052201_0.08854880981839264","host":"s3://npm-registry-packages"},"typesPublisherContentHash":"b90a416277cabbf7484b368c0c8f698bd66caed3b8c6eef97f3fbb0417367409","_cnpmcore_publish_time":"2024-07-27T07:07:32.451Z","publish_time":1722064052451,"_source_registry_name":"default"}},"dist-tags":{"latest":"1.0.1","ts4.6":"1.0.0","ts4.7":"1.0.0","ts4.8":"1.0.1","ts4.9":"1.0.1","ts5.0":"1.0.1","ts5.1":"1.0.1","ts5.2":"1.0.1","ts5.3":"1.0.1","ts5.4":"1.0.1","ts5.5":"1.0.1","ts5.6":"1.0.1","ts5.7":"1.0.1","ts5.8":"1.0.1","ts5.9":"1.0.1","ts6.0":"1.0.1","ts7.0":"1.0.1","ts7.1":"1.0.1"},"name":"@types/camelize","time":{"created":"2023-12-06T00:41:06.708Z","1.0.0":"2023-12-05T21:35:55.272Z","modified":"2026-10-04T08:19:30.303Z","1.0.1":"2024-07-27T07:07:32.451Z"},"readme":"# Installation\r\n> `npm install --save @types/camelize`\r\n\r\n# Summary\r\nThis package contains type definitions for camelize (https://github.com/ljharb/camelize).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/camelize.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/camelize/index.d.ts)\r\n````ts\r\ntype CamelSeparator = \"-\" | \"_\" | \".\";\n\n/**\n * Converts a string to camel case.\n */\ntype CamelCase<S extends string> = S extends `${infer FirstWord}${CamelSeparator}${infer SecondChar}${infer Remaining}`\n    ? `${Lowercase<FirstWord>}${Uppercase<SecondChar>}${CamelCase<Remaining>}`\n    : Lowercase<S>;\n\ntype Camelize<T> = T extends Date ? T\n    : T extends RegExp ? T\n    : T extends Array<infer I> ? Array<Camelize<I>>\n    : T extends object ? {\n            [K in keyof T as CamelCase<string & K>]: Camelize<T[K]>;\n        }\n    : T;\n\ndeclare function camelize<T>(obj: T): T extends string ? CamelCase<T> : Camelize<T>;\n\nexport = camelize;\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Sat, 27 Jul 2024 07:07:31 GMT\r\n * Dependencies: none\r\n\r\n# Credits\r\nThese definitions were written by [Tristan F.](https://github.com/LeoDog896).","users":{}}