{"id":13583101,"url":"https://github.com/derhuerst/query-string-cli","last_synced_at":"2025-10-27T15:46:24.765Z","repository":{"id":26189196,"uuid":"107610249","full_name":"derhuerst/query-string-cli","owner":"derhuerst","description":"Decode \u0026 encode URL query strings in the command line.","archived":false,"fork":false,"pushed_at":"2022-02-24T00:15:59.000Z","size":14,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T05:36:46.334Z","etag":null,"topics":["cli","command-line","decode","encode","query-string","url"],"latest_commit_sha":null,"homepage":"https://github.com/derhuerst/query-string-cli#query-string-cli","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/derhuerst.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}},"created_at":"2017-10-19T23:45:43.000Z","updated_at":"2024-01-11T16:58:19.000Z","dependencies_parsed_at":"2022-08-07T11:16:29.062Z","dependency_job_id":null,"html_url":"https://github.com/derhuerst/query-string-cli","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/derhuerst%2Fquery-string-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Fquery-string-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Fquery-string-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Fquery-string-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/derhuerst","download_url":"https://codeload.github.com/derhuerst/query-string-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249016306,"owners_count":21198828,"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":["cli","command-line","decode","encode","query-string","url"],"created_at":"2024-08-01T15:03:15.384Z","updated_at":"2025-10-27T15:46:19.712Z","avatar_url":"https://github.com/derhuerst.png","language":"JavaScript","readme":"# query-string-cli\n\n**Decode \u0026 encode URL query strings in the command line.**\n\n[![npm version](https://img.shields.io/npm/v/query-string-cli.svg)](https://www.npmjs.com/package/query-string-cli)\n[![build status](https://api.travis-ci.org/derhuerst/query-string-cli.svg?branch=master)](https://travis-ci.org/derhuerst/query-string-cli)\n![ISC-licensed](https://img.shields.io/github/license/derhuerst/query-string-cli.svg)\n![minimum Node.js version](https://img.shields.io/node/v/query-string-cli.svg)\n[![chat with me on Gitter](https://img.shields.io/badge/chat%20with%20me-on%20gitter-512e92.svg)](https://gitter.im/derhuerst)\n[![support me via GitHub Sponsors](https://img.shields.io/badge/support%20me-donate-fa7664.svg)](https://github.com/sponsors/derhuerst)\n\n\n## Installing\n\n```shell\nnpm install -g query-string-cli\n```\n\n\n## Usage\n\n```\nUsage:\n    decode-query-string [--json] \u003cencoded-query-string\u003e\nOptions:\n    --json       -j  Print JSON instead of an eve-friendly version.\n    --delimiter  -d  Character between key/value pairs. Default: \u0026\n    --no-dots        Don't parse `a.b=foo` dot notation.\n    --no-comma       Don't parse `a=foo,bar` array notation.\n    --no-arrays      Don't parse `a[1]=foo` array notation.\nExamples:\n    decode-query-string 'foo[bar]=A\u0026baz[0]=B\u0026baz[1]=C'\n```\n\n```\nUsage:\n    encode-query-string [--no-encoding] \u003cjson\u003e\nOptions:\n    --no-encoding   -n  Don't URL-encode the result.\n    --delimiter         Character between key/value pairs. Default: \u0026\n    --dot-notation  -d  Use the \"a.b\" notation for objects.\n    --array-format      How to encode arrays. Default: indices\n                          indices, brackets, repeat, comma\nExamples:\n    encode-query-string -nd '{\"foo\": {\"bar\": \"A\"}, \"baz\": [\"B\", \"C\"]}'\n```\n\n*Pro tip:* Use `query-string-cli` in conjunction with [`parse-url-cli`](https://github.com/derhuerst/parse-url-cli).\n\n\n## Contributing\n\nIf you have a question or have difficulties using `query-string-cli`, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to [the issues page](https://github.com/derhuerst/query-string-cli/issues).\n","funding_links":["https://github.com/sponsors/derhuerst"],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderhuerst%2Fquery-string-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fderhuerst%2Fquery-string-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderhuerst%2Fquery-string-cli/lists"}