{"id":17750599,"url":"https://github.com/nuintun/uri","last_synced_at":"2025-04-15T07:23:57.623Z","repository":{"id":25062987,"uuid":"103083853","full_name":"nuintun/URI","owner":"nuintun","description":"A simple WHATWG URI parser.","archived":false,"fork":false,"pushed_at":"2025-04-14T06:28:13.000Z","size":403,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T07:34:06.482Z","etag":null,"topics":["uri","uri-parser","uriparser","url","whatwg-url"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nuintun.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-11T03:06:50.000Z","updated_at":"2025-04-14T06:28:16.000Z","dependencies_parsed_at":"2024-03-05T07:39:25.563Z","dependency_job_id":"31d3b847-467f-44b8-b51f-ba6cf2dada7a","html_url":"https://github.com/nuintun/URI","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuintun%2FURI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuintun%2FURI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuintun%2FURI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nuintun%2FURI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nuintun","download_url":"https://codeload.github.com/nuintun/URI/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248843138,"owners_count":21170476,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["uri","uri-parser","uriparser","url","whatwg-url"],"created_at":"2024-10-26T12:22:49.134Z","updated_at":"2025-04-15T07:23:57.600Z","avatar_url":"https://github.com/nuintun.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# URI\n\n\u003c!-- prettier-ignore --\u003e\n\u003e A simple WHATWG URI parser.\n\u003e\n\u003e [![NPM Version][npm-image]][npm-url]\n\u003e [![Download Status][download-image]][npm-url]\n\u003e [![Languages Status][languages-image]][github-url]\n\u003e [![Tree Shakeable][tree-shakeable-image]][bundle-phobia-url]\n\u003e [![Side Effect][side-effect-image]][bundle-phobia-url]\n\u003e [![License][license-image]][license-url]\n\n```ts\n/**\n * @module URI\n * @license MIT\n */\n\nexport interface ParseResult {\n  [key: string]: string | null | (string | null)[];\n}\n\n/**\n * @class URI\n */\nexport declare class URI {\n  protocol: string | null;\n  username: string | null;\n  password: string | null;\n  hostname: string | null;\n  port: string | null;\n  pathname: string | null;\n  query: ParseResult;\n  fragment: ParseResult;\n  /**\n   * @constructor\n   * @param URI\n   */\n  constructor(URI: string);\n  /**\n   * @property search\n   * @method get\n   */\n  get search(): string;\n  /**\n   * @property hash\n   * @method get\n   */\n  get hash(): string;\n  /**\n   * @method toURI\n   */\n  toURI(): string;\n  /**\n   * @method toString\n   */\n  toString(): string;\n}\n```\n\n[npm-image]: https://img.shields.io/npm/v/@nuintun/uri?style=flat-square\n[npm-url]: https://www.npmjs.org/package/@nuintun/uri\n[download-image]: https://img.shields.io/npm/dm/@nuintun/uri?style=flat-square\n[languages-image]: https://img.shields.io/github/languages/top/nuintun/uri?style=flat-square\n[github-url]: https://github.com/nuintun/uri\n[tree-shakeable-image]: https://img.shields.io/badge/tree--shakeable-true-brightgreen?style=flat-square\n[side-effect-image]: https://img.shields.io/badge/side--effect-free-brightgreen?style=flat-square\n[bundle-phobia-url]: https://bundlephobia.com/result?p=@nuintun/uri\n[license-image]: https://img.shields.io/github/license/nuintun/uri?style=flat-square\n[license-url]: https://github.com/nuintun/uri/blob/main/LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuintun%2Furi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnuintun%2Furi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnuintun%2Furi/lists"}