{"id":19451567,"url":"https://github.com/pxyup/uri-parse-lib","last_synced_at":"2025-04-25T04:30:26.808Z","repository":{"id":14772616,"uuid":"77065983","full_name":"PxyUp/uri-parse-lib","owner":"PxyUp","description":"Library for parse URI","archived":false,"fork":false,"pushed_at":"2023-02-27T18:45:18.000Z","size":534,"stargazers_count":24,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T15:52:28.732Z","etag":null,"topics":["js","parser","url"],"latest_commit_sha":null,"homepage":"https://pxyup.github.io/uri-parse-lib/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PxyUp.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":"2016-12-21T16:03:02.000Z","updated_at":"2023-04-20T22:10:52.000Z","dependencies_parsed_at":"2024-06-21T16:53:57.298Z","dependency_job_id":"f62cbbb0-65d3-4f9f-aafc-b07c0f579d53","html_url":"https://github.com/PxyUp/uri-parse-lib","commit_stats":{"total_commits":73,"total_committers":4,"mean_commits":18.25,"dds":0.1917808219178082,"last_synced_commit":"99ed825ba544b1db7482daa6513a1632abf1f814"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PxyUp%2Furi-parse-lib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PxyUp%2Furi-parse-lib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PxyUp%2Furi-parse-lib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PxyUp%2Furi-parse-lib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PxyUp","download_url":"https://codeload.github.com/PxyUp/uri-parse-lib/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250754516,"owners_count":21481827,"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":["js","parser","url"],"created_at":"2024-11-10T16:42:15.797Z","updated_at":"2025-04-25T04:30:26.436Z","avatar_url":"https://github.com/PxyUp.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# uri-parse-lib\n\nSmall library for parse URI(URL) for web/node\n\n[![NPM](https://nodei.co/npm/uri-parse-lib.png?downloads=true\u0026downloadRank=true\u0026stars=true)](https://nodei.co/npm/uri-parse-lib/)\n\n# Try it\n\n[DEMO](https://pxyup.github.io/uri-parse-lib)\n\n# What the difference with new URL(url)?\n\n1. It is deeply parse search params like a object(check examples)\n2. Check first one!(it is main once)\n\n# Install\n\n    npm install uri-parse-lib\n    \n# Usage   \n    \n```typescript\nimport { parseURI } from \"uri-parse-lib\"`\n\nparseURI(\"http://user:pass@example.com:8080/directory/file.ext?query[nan][0][nan]=1\u0026query[nan][1][sed]=4\u0026sed[tatat][rqwr]=5\u0026query[nan][2][sed]=4#anchor\");`\n```\n\n```json\n{\n  \"hash\": \"#anchor\",\n  \"host\": \"example.com\",\n  \"origin\": \"http://example.com:8080\",\n  \"password\": \"pass\",\n  \"pathname\": \"/directory/file.ext\",\n  \"port\": \"8080\",\n  \"protocol\": \"http\",\n  \"query\": {\n    \"query\": {\n      \"nan\": [\n        {\n          \"nan\": \"1\"\n        },\n        {\n          \"sed\": \"4\"\n        },\n        {\n          \"sed\": \"4\"\n        }\n      ]\n    },\n    \"sed\": {\n      \"tatat\": {\n        \"rqwr\": \"5\"\n      }\n    }\n  },\n  \"user\": \"user\"\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpxyup%2Furi-parse-lib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpxyup%2Furi-parse-lib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpxyup%2Furi-parse-lib/lists"}