{"_id":"@types/range-parser","_rev":"200711","name":"@types/range-parser","description":"TypeScript definitions for range-parser","dist-tags":{"latest":"1.2.4","ts2.0":"1.2.3","ts2.1":"1.2.3","ts2.2":"1.2.3","ts2.3":"1.2.3","ts2.4":"1.2.3","ts2.5":"1.2.3","ts2.6":"1.2.3","ts2.7":"1.2.3","ts2.8":"1.2.3","ts2.9":"1.2.3","ts3.0":"1.2.3","ts3.1":"1.2.3","ts3.2":"1.2.3","ts3.3":"1.2.3","ts3.4":"1.2.3","ts3.5":"1.2.3","ts3.6":"1.2.4","ts3.7":"1.2.4","ts3.8":"1.2.4","ts3.9":"1.2.4","ts4.0":"1.2.4","ts4.1":"1.2.4","ts4.2":"1.2.4","ts4.3":"1.2.4","ts4.4":"1.2.4","ts4.5":"1.2.4","ts4.6":"1.2.4","ts4.7":"1.2.4","ts4.8":"1.2.4","ts4.9":"1.2.4","ts5.0":"1.2.4","ts5.1":"1.2.4"},"maintainers":[{"name":"npm:types","email":""},{"name":"types","email":""}],"time":{"modified":"2023-03-20T10:10:05.000Z","created":"2017-02-10T22:24:58.914Z","1.2.4":"2021-07-07T17:23:06.370Z","1.2.3":"2018-12-07T19:22:20.247Z","1.2.2":"2018-06-05T00:05:25.693Z","1.2.1":"2017-03-31T18:07:25.837Z","1.2.0":"2017-02-10T22:24:58.914Z"},"users":{},"repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/range-parser"},"versions":{"1.2.4":{"name":"@types/range-parser","version":"1.2.4","description":"TypeScript definitions for range-parser","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/range-parser","license":"MIT","contributors":[{"name":"Tomek Łaziuk","url":"https://github.com/tlaziuk","githubUsername":"tlaziuk"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/range-parser"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"60a027a88ae9d7c5ae30935c98266f5033af3c38944121c975bf5e136b9053f3","typeScriptVersion":"3.6","_id":"@types/range-parser@1.2.4","dist":{"shasum":"cd667bcfdd025213aafb7ca5915a932590acdcdc","size":1977,"noattachment":false,"key":"/@types/range-parser/-/@types/range-parser-1.2.4.tgz","tarball":"http://name.csiicloud.com:7001/@types/range-parser/download/@types/range-parser-1.2.4.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"npm:types","email":""},{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/range-parser_1.2.4_1625678586204_0.4642996673726154"},"_hasShrinkwrap":false,"publish_time":1625678586370,"_cnpm_publish_time":1625678586370,"_cnpmcore_publish_time":"2021-12-18T14:23:38.048Z"},"1.2.3":{"name":"@types/range-parser","version":"1.2.3","description":"TypeScript definitions for range-parser","license":"MIT","contributors":[{"name":"Tomek Łaziuk","url":"https://github.com/tlaziuk","githubUsername":"tlaziuk"}],"main":"","types":"index","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"71bf3049d2d484657017f768fe0c54c4e9f03ee340b5a62a56523455925a00ae","typeScriptVersion":"2.0","_id":"@types/range-parser@1.2.3","dist":{"shasum":"7ee330ba7caafb98090bece86a5ee44115904c2c","size":1901,"noattachment":false,"key":"/@types/range-parser/-/@types/range-parser-1.2.3.tgz","tarball":"http://name.csiicloud.com:7001/@types/range-parser/download/@types/range-parser-1.2.3.tgz"},"maintainers":[{"name":"npm:types","email":""},{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/range-parser_1.2.3_1544210540146_0.6996875518641452"},"_hasShrinkwrap":false,"publish_time":1544210540247,"_cnpm_publish_time":1544210540247},"1.2.2":{"name":"@types/range-parser","version":"1.2.2","description":"TypeScript definitions for range-parser","license":"MIT","contributors":[{"name":"Tomek Łaziuk","url":"https://github.com/tlaziuk","githubUsername":"tlaziuk"}],"main":"","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"9aa07423616e63016ffbf0e487540e74ec37bb06827861d502a5a3653e8831e9","typeScriptVersion":"2.0","_id":"@types/range-parser@1.2.2","dist":{"shasum":"fa8e1ad1d474688a757140c91de6dace6f4abc8d","size":1886,"noattachment":false,"key":"/@types/range-parser/-/@types/range-parser-1.2.2.tgz","tarball":"http://name.csiicloud.com:7001/@types/range-parser/download/@types/range-parser-1.2.2.tgz"},"maintainers":[{"name":"npm:types","email":""},{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/range-parser_1.2.2_1528157125632_0.19075074453775498"},"_hasShrinkwrap":false,"publish_time":1528157125693,"_cnpm_publish_time":1528157125693},"1.2.1":{"name":"@types/range-parser","version":"1.2.1","description":"TypeScript definitions for range-parser","license":"MIT","contributors":[{"name":"Tomek Łaziuk","url":"https://github.com/tlaziuk"}],"main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"peerDependencies":{},"typesPublisherContentHash":"03972cff5d6102c2b5e14224a112cb83a99fd55ccbf831c6ba9953809199f9a8","typeScriptVersion":"2.0","_id":"@types/range-parser@1.2.1","dist":{"shasum":"d5ea5a43288953f7ae0ff4fdca7beee55e1efb1e","size":949,"noattachment":false,"key":"/@types/range-parser/-/@types/range-parser-1.2.1.tgz","tarball":"http://name.csiicloud.com:7001/@types/range-parser/download/@types/range-parser-1.2.1.tgz"},"maintainers":[{"name":"npm:types","email":""},{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/range-parser-1.2.1.tgz_1490983644025_0.13351211254484951"},"directories":{},"publish_time":1490983645837,"_cnpm_publish_time":1490983645837,"_hasShrinkwrap":false},"1.2.0":{"name":"@types/range-parser","version":"1.2.0","description":"TypeScript definitions for range-parser","license":"MIT","author":"Tomek Łaziuk <https://github.com/tlaziuk>","main":"","repository":{"type":"git","url":"https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"peerDependencies":{},"typesPublisherContentHash":"ef6c0b6cc4719620c4c92a0ce00d45a9b4f0b5e1d6d91245fc80e32d9886f21d","typeScriptVersion":"2.0","_id":"@types/range-parser@1.2.0","dist":{"shasum":"9de85d972f138909c0f71205157bb707908df088","size":1146,"noattachment":false,"key":"/@types/range-parser/-/@types/range-parser-1.2.0.tgz","tarball":"http://name.csiicloud.com:7001/@types/range-parser/download/@types/range-parser-1.2.0.tgz"},"maintainers":[{"name":"npm:types","email":""},{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/range-parser-1.2.0.tgz_1486765496963_0.6287025790661573"},"directories":{},"publish_time":1486765498914,"_cnpm_publish_time":1486765498914,"_hasShrinkwrap":false}},"readme":"# Installation\r\n> `npm install --save @types/range-parser`\r\n\r\n# Summary\r\nThis package contains type definitions for range-parser (https://github.com/jshttp/range-parser).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/range-parser.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/range-parser/index.d.ts)\r\n````ts\r\n// Type definitions for range-parser 1.2\n// Project: https://github.com/jshttp/range-parser\n// Definitions by: Tomek Łaziuk <https://github.com/tlaziuk>\n// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped\n\n/**\n * When ranges are returned, the array has a \"type\" property which is the type of\n * range that is required (most commonly, \"bytes\"). Each array element is an object\n * with a \"start\" and \"end\" property for the portion of the range.\n *\n * @returns `-1` when unsatisfiable and `-2` when syntactically invalid, ranges otherwise.\n */\ndeclare function RangeParser(size: number, str: string, options?: RangeParser.Options): RangeParser.Result | RangeParser.Ranges;\n\ndeclare namespace RangeParser {\n    interface Ranges extends Array<Range> {\n        type: string;\n    }\n    interface Range {\n        start: number;\n        end: number;\n    }\n    interface Options {\n        /**\n         * The \"combine\" option can be set to `true` and overlapping & adjacent ranges\n         * will be combined into a single range.\n         */\n        combine?: boolean | undefined;\n    }\n    type ResultUnsatisfiable = -1;\n    type ResultInvalid = -2;\n    type Result = ResultUnsatisfiable | ResultInvalid;\n}\n\nexport = RangeParser;\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Wed, 07 Jul 2021 17:02:53 GMT\r\n * Dependencies: none\r\n * Global values: none\r\n\r\n# Credits\r\nThese definitions were written by [Tomek Łaziuk](https://github.com/tlaziuk).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/range-parser","license":"MIT"}