{"id":20666296,"url":"https://github.com/wmxpy/url-var","last_synced_at":"2026-04-24T04:33:13.940Z","repository":{"id":57387672,"uuid":"99382745","full_name":"WMXPY/url-var","owner":"WMXPY","description":"get var from url","archived":false,"fork":false,"pushed_at":"2017-08-04T23:01:23.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-18T02:39:04.245Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/WMXPY.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}},"created_at":"2017-08-04T22:04:43.000Z","updated_at":"2017-08-04T22:11:18.000Z","dependencies_parsed_at":"2022-09-26T16:50:58.357Z","dependency_job_id":null,"html_url":"https://github.com/WMXPY/url-var","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/WMXPY%2Furl-var","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WMXPY%2Furl-var/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WMXPY%2Furl-var/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WMXPY%2Furl-var/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WMXPY","download_url":"https://codeload.github.com/WMXPY/url-var/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242855157,"owners_count":20196353,"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":[],"created_at":"2024-11-16T19:36:38.957Z","updated_at":"2025-12-24T05:18:05.058Z","avatar_url":"https://github.com/WMXPY.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# url-var\n\n[![npm version](https://badge.fury.io/js/url-var.svg)](https://badge.fury.io/js/url-var)\n[![downloads](https://img.shields.io/npm/dm/url-var.svg)](https://badge.fury.io/js/url-var)\n\n## Install\n\n```bash\n    npm i url-var --save\n```\n\n## Usage\n\n```js\nimport a from 'url-var';\n\n//address: http://example.something/?a=10\u0026b=20\na.url('a'); // = 10\na.url('a','b'); // = {a:10,b:20}\n\n//address: whatever\na.str('http://example.something/?a=10\u0026b=20','a') // = 10\na.str('http://example.something/?a=10\u0026b=20','a','b') // = {a:10,b:20}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwmxpy%2Furl-var","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwmxpy%2Furl-var","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwmxpy%2Furl-var/lists"}