{"id":16652635,"url":"https://github.com/gabrielczar/uricomponent","last_synced_at":"2026-05-27T18:32:20.996Z","repository":{"id":89620618,"uuid":"118396285","full_name":"GabrielCzar/uricomponent","owner":"GabrielCzar","description":":squirrel: A simple library to converting a javascript object to an encoded URI parameter string. :gem:","archived":false,"fork":false,"pushed_at":"2023-03-03T17:21:44.000Z","size":266,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-12T21:35:33.702Z","etag":null,"topics":["objectmapper","url-parser"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"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/GabrielCzar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2018-01-22T02:33:21.000Z","updated_at":"2023-09-08T17:35:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"ae49d600-afcf-4d5b-955f-07849f0f19cd","html_url":"https://github.com/GabrielCzar/uricomponent","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/GabrielCzar/uricomponent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielCzar%2Furicomponent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielCzar%2Furicomponent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielCzar%2Furicomponent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielCzar%2Furicomponent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GabrielCzar","download_url":"https://codeload.github.com/GabrielCzar/uricomponent/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GabrielCzar%2Furicomponent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33579665,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-27T02:00:06.184Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["objectmapper","url-parser"],"created_at":"2024-10-12T09:29:15.239Z","updated_at":"2026-05-27T18:32:20.969Z","avatar_url":"https://github.com/GabrielCzar.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# URIComponent\n\nA simple library to converting a javascript object to an encoded URI parameter string. \n\n## Installation\n\n```console\nnpm install uricomponent\n```\n\n## Import\n\n**AMD**\n\n```js\ndefine(['uricomponent'], function (uricomponent) {\n  uricomponent.encode(...);\n})\n```\n\n**CommonJS**\n\n```js\nvar uricomponent = require('uricomponent');\nuricomponent.encode(...);\n```\n\n**ES6 / ES2015 module**\n\n```js\nimport uricomponent from 'uricomponent'\nuricomponent.encode(...);\n```\n\n---\n\n## Signature\n\n```js\nuricomponent.encode([Object]);\nuricomponent.encode([Array],[String]);\n```\n\n---\n\n## Use\n\n- Input\n\n```js\nvar obj = {\n    name : 'leo jaimesson',\n    age : 21,\n    emails : {\n        email1 : 'test@gmail.com',\n        email2 : 'test@outlook.com'\n    },\n    numbers : [\n        1,\n        2,\n        3\n    ]\n};\n\nuricomponent.encode(obj);\n```\n\n- Output\n\n```console\n\"name=leo%20jaimesson\u0026age=21\u0026emails%5Bemail1%5D=test%40gmail.com\u0026emails%5Bemail2%5D=test%40outlook.com\u0026numbers%5B%5D=1\u0026numbers%5B%5D=2\u0026numbers%5B%5D=3\"\n```\n\n- Input\n\n```js\nvar array = [\n    1,\n    2,\n    {\n        a : 'a',\n        b : 'b'\n    }\n]\n\nuricomponent.encode(array, 'name');\n```\n\n- Output\n\n```console\n\"name%5B%5D=1\u0026name%5B%5D=2\u0026name%5B2%5D%5Ba%5D=a\u0026name%5B2%5D%5Bb%5D=b\"\n```\n\n---\n\n### License\n\n[MIT License](https://github.com/leojaimesson/MIT-License)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabrielczar%2Furicomponent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgabrielczar%2Furicomponent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabrielczar%2Furicomponent/lists"}