{"_id":"@types/color-string","_rev":"2802669","name":"@types/color-string","description":"TypeScript definitions for color-string","dist-tags":{"latest":"1.5.2","ts2.0":"1.5.0","ts2.1":"1.5.0","ts2.2":"1.5.0","ts2.3":"1.5.0","ts2.4":"1.5.0","ts2.5":"1.5.0","ts2.6":"1.5.0","ts2.7":"1.5.0","ts2.8":"1.5.0","ts2.9":"1.5.0","ts3.0":"1.5.0","ts3.1":"1.5.0","ts3.2":"1.5.0","ts3.3":"1.5.0","ts3.4":"1.5.0","ts3.5":"1.5.0","ts3.6":"1.5.0","ts3.7":"1.5.0","ts3.8":"1.5.2","ts3.9":"1.5.2","ts4.0":"1.5.2","ts4.1":"1.5.2","ts4.2":"1.5.2","ts4.3":"1.5.2","ts4.4":"1.5.2","ts4.5":"1.5.2","ts4.6":"1.5.2","ts4.7":"1.5.2","ts4.8":"1.5.2","ts4.9":"1.5.2"},"maintainers":[{"name":"types","email":""}],"time":{"modified":"2022-09-01T09:22:01.000Z","created":"2017-07-22T19:04:18.469Z","1.5.2":"2021-11-30T23:01:13.927Z","1.5.1":"2021-11-26T22:31:31.443Z","1.5.0":"2017-07-22T19:04:18.469Z"},"users":{},"repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/color-string"},"versions":{"1.5.2":{"name":"@types/color-string","version":"1.5.2","description":"TypeScript definitions for color-string","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/color-string","license":"MIT","contributors":[{"name":"BendingBender","url":"https://github.com/BendingBender","githubUsername":"BendingBender"},{"name":"Dan Marshall","url":"https://github.com/danmarshall","githubUsername":"danmarshall"},{"name":"Eric NICOLAS (ccjmne)","url":"https://github.com/ccjmne","githubUsername":"ccjmne"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/color-string"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"ba1a45bcc21999b8f189e90bd00ed9c5619a8cc444f1637d64791bd816e57cef","typeScriptVersion":"3.8","_id":"@types/color-string@1.5.2","dist":{"shasum":"cdb9879b6feca2aa27846adfc3988ef2413ee138","size":1852,"noattachment":false,"key":"/@types/color-string/-/@types/color-string-1.5.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/color-string/download/@types/color-string-1.5.2.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/color-string_1.5.2_1638313273637_0.08400853469767422"},"_hasShrinkwrap":false,"publish_time":1638313273927,"_cnpm_publish_time":1638313273927,"_cnpmcore_publish_time":"2021-12-17T01:39:58.480Z"},"1.5.1":{"name":"@types/color-string","version":"1.5.1","description":"TypeScript definitions for color-string","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/color-string","license":"MIT","contributors":[{"name":"BendingBender","url":"https://github.com/BendingBender","githubUsername":"BendingBender"},{"name":"Dan Marshall","url":"https://github.com/danmarshall","githubUsername":"danmarshall"},{"name":"Eric NICOLAS (ccjmne)","url":"https://github.com/ccjmne","githubUsername":"ccjmne"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/color-string"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"d6a60089964e55f684b73c12d24cecd120ad271036ff370527ebcb071636af4a","typeScriptVersion":"3.8","_id":"@types/color-string@1.5.1","dist":{"shasum":"a4ae252447cc53f0a50f6cd095427855117b757b","size":1848,"noattachment":false,"key":"/@types/color-string/-/@types/color-string-1.5.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/color-string/download/@types/color-string-1.5.1.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/color-string_1.5.1_1637965891272_0.03805664251200369"},"_hasShrinkwrap":false,"publish_time":1637965891443,"_cnpm_publish_time":1637965891443,"_cnpmcore_publish_time":"2021-12-17T01:39:58.688Z"},"1.5.0":{"name":"@types/color-string","version":"1.5.0","description":"TypeScript definitions for color-string","license":"MIT","contributors":[{"name":"BendingBender","url":"https://github.com/BendingBender"},{"name":"Dan Marshall","url":"https://github.com/danmarshall"}],"main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"peerDependencies":{},"typesPublisherContentHash":"ec3f34c8c1a1391a64046a9756fe9f2311ac8ce46531fe381f4d4c5a706b434a","typeScriptVersion":"2.0","_id":"@types/color-string@1.5.0","dist":{"shasum":"0a9f3ee6bc9bd4f89693fc3f2bc30d47ad68afc3","size":1691,"noattachment":false,"key":"/@types/color-string/-/@types/color-string-1.5.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/color-string/download/@types/color-string-1.5.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/color-string-1.5.0.tgz_1500750258399_0.9010462039150298"},"directories":{},"publish_time":1500750258469,"_hasShrinkwrap":false,"_cnpm_publish_time":1500750258469,"_cnpmcore_publish_time":"2021-12-17T01:39:58.911Z"}},"readme":"# Installation\r\n> `npm install --save @types/color-string`\r\n\r\n# Summary\r\nThis package contains type definitions for color-string (https://github.com/qix-/color-string#readme).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/color-string.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/color-string/index.d.ts)\r\n````ts\r\n// Type definitions for color-string 1.5\n// Project: https://github.com/qix-/color-string#readme\n// Definitions by: BendingBender <https://github.com/BendingBender>\n//                 Dan Marshall <https://github.com/danmarshall>\n//                 Eric NICOLAS (ccjmne) <https://github.com/ccjmne>\n// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped\n\nexport type Color = [number, number, number, number];\n\nexport interface ColorDescriptor {\n    model: 'rgb' | 'hsl' | 'hwb';\n    value: Color;\n}\n\nexport function get(colorString: string): ColorDescriptor | null;\n\nexport namespace get {\n    function hsl<TColorStr extends string | null>(colorString: TColorStr): TColorStr extends string ? Color : null;\n    function hwb<TColorStr extends string | null>(colorString: TColorStr): TColorStr extends string ? Color : null;\n    function rgb<TColorStr extends string | null>(colorString: TColorStr): TColorStr extends string ? Color : null;\n}\n\nexport namespace to {\n    function hex(...args: Array<number | number[]>): string;\n    function rgb(...args: Array<number | number[]>): string;\n    namespace rgb {\n        function percent(...args: Array<number | number[]>): string;\n    }\n    function keyword(...args: Array<number | number[]>): string;\n    function hsl(...args: Array<number | number[]>): string;\n    function hwb(...args: Array<number | number[]>): string;\n}\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Tue, 30 Nov 2021 23:01:03 GMT\r\n * Dependencies: none\r\n * Global values: none\r\n\r\n# Credits\r\nThese definitions were written by [BendingBender](https://github.com/BendingBender), [Dan Marshall](https://github.com/danmarshall), and [Eric NICOLAS (ccjmne)](https://github.com/ccjmne).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/color-string","license":"MIT"}