{"_id":"@types/parse-node-version","_rev":"3016551","name":"@types/parse-node-version","description":"TypeScript definitions for parse-node-version","dist-tags":{"latest":"1.0.0","ts3.7":"1.0.0","ts3.8":"1.0.0","ts3.9":"1.0.0","ts4.0":"1.0.0","ts4.1":"1.0.0","ts4.2":"1.0.0","ts4.3":"1.0.0","ts4.4":"1.0.0","ts4.5":"1.0.0","ts4.6":"1.0.0","ts4.7":"1.0.0","ts4.8":"1.0.0","ts4.9":"1.0.0","ts5.0":"1.0.0","ts5.1":"1.0.0","ts5.2":"1.0.0","ts5.3":"1.0.0"},"maintainers":[{"name":"types","email":""}],"time":{"modified":"2023-10-17T06:04:26.000Z","created":"2021-10-07T18:05:57.095Z","1.0.0":"2021-10-07T18:05:57.095Z"},"users":{},"repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/parse-node-version"},"versions":{"1.0.0":{"name":"@types/parse-node-version","version":"1.0.0","description":"TypeScript definitions for parse-node-version","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parse-node-version","license":"MIT","contributors":[{"name":"Ivan Nikolić","url":"https://github.com/niksy","githubUsername":"niksy"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/parse-node-version"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"b434dcebd92c82b649003cf2b18ad0fd3405c4fd6fa4b9536a1f4c1b67809eba","typeScriptVersion":"3.7","_id":"@types/parse-node-version@1.0.0","dist":{"shasum":"521f7c1c4a5130e26c6c8cc853814a61b731fa4b","size":1853,"noattachment":false,"key":"/@types/parse-node-version/-/@types/parse-node-version-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/parse-node-version/download/@types/parse-node-version-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/parse-node-version_1.0.0_1633629956939_0.5761638559800126"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-20T07:53:29.081Z","publish_time":1633629957095,"_cnpm_publish_time":1633629957095}},"readme":"# Installation\r\n> `npm install --save @types/parse-node-version`\r\n\r\n# Summary\r\nThis package contains type definitions for parse-node-version (https://github.com/gulpjs/parse-node-version#readme).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parse-node-version.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parse-node-version/index.d.ts)\r\n````ts\r\n// Type definitions for parse-node-version 1.0\n// Project: https://github.com/gulpjs/parse-node-version#readme\n// Definitions by: Ivan Nikolić <https://github.com/niksy>\n// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped\n\ninterface ParsedNodeVersion {\n    /**\n     * Major version\n     */\n    major: number;\n    /**\n     * Minor version\n     */\n    minor: number;\n    /**\n     * Patch version\n     */\n    patch: number;\n    /**\n     * Pre-release version\n     */\n    pre: string;\n    /**\n     * Build information\n     */\n    build: string;\n}\n\n/**\n * Takes a Node version string (usually `process.version`) and returns an object\n * with the `major`/`minor`/`patch` (which will all be numbers) and `pre`/`build`\n * keys (which will always be a string). If the version doesn't contain any\n * pre-release or build information, the properties will be returned\n * as empty string.\n *\n * @param nodeVersionString Node version string\n */\ndeclare function parseNodeVersion(nodeVersionString: string): ParsedNodeVersion;\n\nexport = parseNodeVersion;\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Thu, 07 Oct 2021 18:01:31 GMT\r\n * Dependencies: none\r\n * Global values: none\r\n\r\n# Credits\r\nThese definitions were written by [Ivan Nikolić](https://github.com/niksy).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parse-node-version","license":"MIT"}