{"id":22296423,"url":"https://github.com/knowledgecode/jquery-param","last_synced_at":"2025-04-07T06:12:13.703Z","repository":{"id":29398832,"uuid":"32934129","full_name":"knowledgecode/jquery-param","owner":"knowledgecode","description":"equivalent function to jQuery.param","archived":false,"fork":false,"pushed_at":"2024-09-28T05:56:19.000Z","size":352,"stargazers_count":65,"open_issues_count":0,"forks_count":17,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-04T01:37:15.448Z","etag":null,"topics":["equivalent","javascript","jquery","param","post","serialize"],"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/knowledgecode.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":"2015-03-26T15:03:08.000Z","updated_at":"2025-02-11T13:56:38.000Z","dependencies_parsed_at":"2025-01-15T09:26:04.568Z","dependency_job_id":"4192d0a8-3dd6-4c92-b7e8-333b634635b1","html_url":"https://github.com/knowledgecode/jquery-param","commit_stats":{"total_commits":74,"total_committers":3,"mean_commits":"24.666666666666668","dds":"0.22972972972972971","last_synced_commit":"479b54893034c85fe9c25c280e719357d7b4fce0"},"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knowledgecode%2Fjquery-param","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knowledgecode%2Fjquery-param/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knowledgecode%2Fjquery-param/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knowledgecode%2Fjquery-param/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/knowledgecode","download_url":"https://codeload.github.com/knowledgecode/jquery-param/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247601449,"owners_count":20964864,"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":["equivalent","javascript","jquery","param","post","serialize"],"created_at":"2024-12-03T17:45:32.734Z","updated_at":"2025-04-07T06:12:13.673Z","avatar_url":"https://github.com/knowledgecode.png","language":"JavaScript","readme":"# jquery-param\n\n[![Circle CI](https://circleci.com/gh/knowledgecode/jquery-param.svg?style=shield)](https://circleci.com/gh/knowledgecode/jquery-param)\n\n## Features\n\n- Equivalent to jQuery.param (based on jQuery 3.x)\n- No dependencies\n- Universal (Isomorphic)\n- ES Modules Support\n\n## Installation\n\nvia npm:\n\n```shell\nnpm i jquery-param\n```\n\n## Usage\n\n```javascript\nimport param from 'jquery-param';\n\nconst obj = { key1: { value1: [10, 20, 30] }, key2: '?a=b\u0026c=d' };\nconst str = param(obj);\n// =\u003e \"key1[value1][]=10\u0026key1[value1][]=20\u0026key1[value1][]=30\u0026key2=?a=b\u0026c=d\"\n```\n\nCommonJS:\n\n```javascript\nconst param = require('jquery-param');\n\nconst obj = { key1: { value1: [10, 20, 30] }, key2: '?a=b\u0026c=d' };\nconst str = param(obj);\n// =\u003e \"key1[value1][]=10\u0026key1[value1][]=20\u0026key1[value1][]=30\u0026key2=?a=b\u0026c=d\"\n```\n\nES Modules (Browser):\n\n```html\n\u003cscript type=\"module\"\u003e\nimport param from '/path/to/jquery-param.js';\n\nconst obj = { key1: { value1: [10, 20, 30] }, key2: '?a=b\u0026c=d' };\nconst str = param(obj);\n// =\u003e \"key1[value1][]=10\u0026key1[value1][]=20\u0026key1[value1][]=30\u0026key2=?a=b\u0026c=d\"\n\u003c/script\u003e\n```\n\nTraditional (Browser):\n\n```html\n\u003cscript src=\"/path/to/jquery-param.js\"\u003e\n\u003cscript\u003e\nvar obj = { key1: { value1: [10, 20, 30] }, key2: '?a=b\u0026c=d' };\nvar str = window.param(obj);\n// =\u003e \"key1[value1][]=10\u0026key1[value1][]=20\u0026key1[value1][]=30\u0026key2=?a=b\u0026c=d\"\n\u003c/script\u003e\n```\n\n## Browser Support\n\nChrome, Firefox, Safari, Edge, and IE9+.\n\n## License\n\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknowledgecode%2Fjquery-param","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknowledgecode%2Fjquery-param","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknowledgecode%2Fjquery-param/lists"}