{"_id":"@types/git-url-parse","_rev":"3016351","name":"@types/git-url-parse","description":"TypeScript definitions for git-url-parse","dist-tags":{"latest":"9.0.1","ts2.0":"9.0.0","ts2.1":"9.0.0","ts2.2":"9.0.0","ts2.3":"9.0.0","ts2.4":"9.0.0","ts2.5":"9.0.0","ts2.6":"9.0.0","ts2.7":"9.0.0","ts2.8":"9.0.0","ts2.9":"9.0.0","ts3.0":"9.0.0","ts3.1":"9.0.0","ts3.2":"9.0.0","ts3.3":"9.0.0","ts3.4":"9.0.0","ts3.5":"9.0.0","ts3.6":"9.0.1","ts3.7":"9.0.1","ts3.8":"9.0.1","ts3.9":"9.0.1","ts4.0":"9.0.1","ts4.1":"9.0.1","ts4.2":"9.0.1","ts4.3":"9.0.1","ts4.4":"9.0.1","ts4.5":"9.0.1","ts4.6":"9.0.1","ts4.7":"9.0.1","ts4.8":"9.0.1","ts4.9":"9.0.1","ts5.0":"9.0.1","ts5.1":"9.0.1","ts5.2":"9.0.1","ts5.3":"9.0.1"},"maintainers":[{"name":"types","email":""}],"time":{"modified":"2023-10-17T06:04:12.000Z","created":"2018-07-16T17:10:22.951Z","9.0.1":"2021-07-06T20:59:36.549Z","9.0.0":"2018-07-16T17:10:22.951Z"},"users":{},"repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/git-url-parse"},"versions":{"9.0.1":{"name":"@types/git-url-parse","version":"9.0.1","description":"TypeScript definitions for git-url-parse","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/git-url-parse","license":"MIT","contributors":[{"name":"Klaus Meinhardt","url":"https://github.com/ajafff","githubUsername":"ajafff"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/git-url-parse"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"e01575968ff0ec71c76c6a7cce74443e04a84d9ce06b66dbb7405187dc5d3ef6","typeScriptVersion":"3.6","_id":"@types/git-url-parse@9.0.1","dist":{"shasum":"1c7cc89527ca8b5afcf260ead3b0e4e373c43938","size":2055,"noattachment":false,"key":"/@types/git-url-parse/-/@types/git-url-parse-9.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/git-url-parse/download/@types/git-url-parse-9.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/git-url-parse_9.0.1_1625605176353_0.4307222531834969"},"_hasShrinkwrap":false,"publish_time":1625605176549,"_cnpm_publish_time":1625605176549,"_cnpmcore_publish_time":"2021-12-16T13:07:47.557Z"},"9.0.0":{"name":"@types/git-url-parse","version":"9.0.0","description":"TypeScript definitions for git-url-parse","license":"MIT","contributors":[{"name":"Klaus Meinhardt","url":"https://github.com/ajafff","githubUsername":"ajafff"}],"main":"","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git"},"scripts":{},"dependencies":{},"typesPublisherContentHash":"5fab8644550eaad8977521f4ddbf4a41e9151654249f2eb88868aa0d8a758148","typeScriptVersion":"2.0","_id":"@types/git-url-parse@9.0.0","dist":{"shasum":"aac1315a44fa4ed5a52c3820f6c3c2fb79cbd12d","size":1969,"noattachment":false,"key":"/@types/git-url-parse/-/@types/git-url-parse-9.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/git-url-parse/download/@types/git-url-parse-9.0.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/git-url-parse_9.0.0_1531761022849_0.9540207194265626"},"_hasShrinkwrap":false,"publish_time":1531761022951,"_cnpm_publish_time":1531761022951,"_cnpmcore_publish_time":"2021-12-16T13:07:47.792Z"}},"readme":"# Installation\r\n> `npm install --save @types/git-url-parse`\r\n\r\n# Summary\r\nThis package contains type definitions for git-url-parse (https://github.com/IonicaBizau/git-url-parse).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/git-url-parse.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/git-url-parse/index.d.ts)\r\n````ts\r\n// Type definitions for git-url-parse 9.0\n// Project: https://github.com/IonicaBizau/git-url-parse\n// Definitions by: Klaus Meinhardt <https://github.com/ajafff>\n// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped\n\ndeclare namespace gitUrlParse {\n    interface GitUrl {\n        /** An array with the url protocols (usually it has one element). */\n        protocols: string[];\n        port: number | null;\n        /** The url domain (including subdomains). */\n        resource: string;\n        /** The authentication user (usually for ssh urls). */\n        user: string;\n        pathname: string;\n        hash: string;\n        search: string;\n        href: string;\n        protocol: string;\n        /** The oauth token (could appear in the https urls). */\n        token: string;\n        /** The Git provider (e.g. `\"github.com\"`). */\n        source: string;\n        /** The repository owner. */\n        owner: string;\n        /** The repository name. */\n        name: string;\n        /** The repository ref (e.g., \"master\" or \"dev\"). */\n        ref: string;\n        /** A filepath relative to the repository root. */\n        filepath: string;\n        /** The type of filepath in the url (\"blob\" or \"tree\"). */\n        filepathtype: string;\n        /** The owner and name values in the `owner/name` format. */\n        full_name: string;\n        /** The organization the owner belongs to. This is CloudForge specific. */\n        organization: string;\n        /** Whether to add the `.git` suffix or not. */\n        git_suffix?: boolean | undefined;\n        toString(type?: string): string;\n    }\n\n    function stringify(url: GitUrl, type?: string): string;\n}\n\ndeclare function gitUrlParse(url: string): gitUrlParse.GitUrl;\n\nexport = gitUrlParse;\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Tue, 06 Jul 2021 20:33:04 GMT\r\n * Dependencies: none\r\n * Global values: none\r\n\r\n# Credits\r\nThese definitions were written by [Klaus Meinhardt](https://github.com/ajafff).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/git-url-parse","license":"MIT"}