{"_id":"@types/toidentifier","_rev":"3751696","name":"@types/toidentifier","description":"TypeScript definitions for toidentifier","dist-tags":{"latest":"1.0.2","ts4.1":"1.0.0","ts4.2":"1.0.0","ts4.3":"1.0.0","ts4.4":"1.0.0","ts4.5":"1.0.2","ts4.6":"1.0.2","ts4.7":"1.0.2","ts4.8":"1.0.2","ts4.9":"1.0.2","ts5.0":"1.0.2","ts5.1":"1.0.2","ts5.2":"1.0.2","ts5.3":"1.0.2","ts5.4":"1.0.2","ts5.5":"1.0.2","ts5.6":"1.0.2","ts5.7":"1.0.2","ts5.8":"1.0.2","ts5.9":"1.0.2"},"maintainers":[{"name":"types","email":""}],"time":{"modified":"2025-03-04T06:14:05.000Z","created":"2022-10-27T19:03:05.923Z","1.0.2":"2023-11-07T18:01:10.276Z","1.0.1":"2023-10-18T16:34:52.099Z","1.0.0":"2022-10-27T19:03:05.923Z"},"users":{},"repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/toidentifier"},"versions":{"1.0.2":{"name":"@types/toidentifier","version":"1.0.2","description":"TypeScript definitions for toidentifier","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/toidentifier","license":"MIT","contributors":[{"name":"BendingBender","githubUsername":"BendingBender","url":"https://github.com/BendingBender"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/toidentifier"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"fcb3abb93d8cf9311ce8df480340ea673c490a5a5e91330a73bd50d3687ff805","typeScriptVersion":"4.5","_id":"@types/toidentifier@1.0.2","dist":{"shasum":"6ec7a9ac8a8cfb820fc9900c8ada1f59cc771063","size":1824,"noattachment":false,"key":"/@types/toidentifier/-/@types/toidentifier-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/toidentifier/download/@types/toidentifier-1.0.2.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toidentifier_1.0.2_1699380070002_0.11851960230195124"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-11-07T18:01:10.276Z","publish_time":1699380070276,"_source_registry_name":"default","_cnpm_publish_time":1699380070276},"1.0.1":{"name":"@types/toidentifier","version":"1.0.1","description":"TypeScript definitions for toidentifier","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/toidentifier","license":"MIT","contributors":[{"name":"BendingBender","githubUsername":"BendingBender","url":"https://github.com/BendingBender"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/toidentifier"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"c3819dd8b6dbf411c3fccff20b393e8183197c820ba7da54bf728f50d0f548b5","typeScriptVersion":"4.5","_id":"@types/toidentifier@1.0.1","dist":{"shasum":"3450619a479a219b87a3790a1bbb5960207abb07","size":1826,"noattachment":false,"key":"/@types/toidentifier/-/@types/toidentifier-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/toidentifier/download/@types/toidentifier-1.0.1.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toidentifier_1.0.1_1697646891814_0.4927981084503503"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-18T16:34:52.099Z","publish_time":1697646892099,"_source_registry_name":"default","_cnpm_publish_time":1697646892099},"1.0.0":{"name":"@types/toidentifier","version":"1.0.0","description":"TypeScript definitions for toidentifier","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/toidentifier","license":"MIT","contributors":[{"name":"BendingBender","url":"https://github.com/BendingBender","githubUsername":"BendingBender"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/toidentifier"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"d821adf7477c90639eb5e340da2d9d2744d4f12a3acaac68fec12000d783793c","typeScriptVersion":"4.1","_id":"@types/toidentifier@1.0.0","dist":{"shasum":"9ed755c6dd9948ad0f0471cd715370fe3e7ee316","size":1860,"noattachment":false,"key":"/@types/toidentifier/-/@types/toidentifier-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/toidentifier/download/@types/toidentifier-1.0.0.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toidentifier_1.0.0_1666897385753_0.28725453763328757"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-10-27T19:05:49.309Z","publish_time":1666897385923,"_cnpm_publish_time":1666897385923}},"readme":"# Installation\r\n> `npm install --save @types/toidentifier`\r\n\r\n# Summary\r\nThis package contains type definitions for toidentifier (https://github.com/component/toidentifier#readme).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/toidentifier.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/toidentifier/index.d.ts)\r\n````ts\r\nexport = toIdentifier;\n\n/**\n * Convert a string of words to a JavaScript identifier.\n *\n * Given a string as the argument, it will be transformed according to the following\n * rules and the new string will be returned:\n *\n * 1. Split into words separated by space characters (`0x20`).\n * 1. Upper case the first character of each word.\n * 1. Join the words together with no separator.\n * 1. Remove all non-word (`[0-9a-z_]`) characters.\n *\n * @example\n * import toIdentifier = require('toidentifier')\n *\n * console.log(toIdentifier('Bad Request'))\n * // => \"BadRequest\"\n */\ndeclare function toIdentifier(str: string): string;\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Tue, 07 Nov 2023 15:11:36 GMT\r\n * Dependencies: none\r\n\r\n# Credits\r\nThese definitions were written by [BendingBender](https://github.com/BendingBender).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/toidentifier","license":"MIT"}