{"id":28633675,"url":"https://github.com/nallwhy/doumi_uri_query","last_synced_at":"2025-06-12T15:09:35.535Z","repository":{"id":64144298,"uuid":"573644687","full_name":"nallwhy/doumi_uri_query","owner":"nallwhy","description":"A Elixir helper library that supports encoding complicated query of URI.","archived":false,"fork":false,"pushed_at":"2022-12-03T08:21:39.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-11T03:41:14.037Z","etag":null,"topics":["elixir"],"latest_commit_sha":null,"homepage":"","language":"Elixir","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/nallwhy.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":"2022-12-03T01:19:50.000Z","updated_at":"2022-12-04T13:14:08.000Z","dependencies_parsed_at":"2022-12-05T02:01:35.885Z","dependency_job_id":null,"html_url":"https://github.com/nallwhy/doumi_uri_query","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nallwhy/doumi_uri_query","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nallwhy%2Fdoumi_uri_query","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nallwhy%2Fdoumi_uri_query/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nallwhy%2Fdoumi_uri_query/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nallwhy%2Fdoumi_uri_query/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nallwhy","download_url":"https://codeload.github.com/nallwhy/doumi_uri_query/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nallwhy%2Fdoumi_uri_query/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259490550,"owners_count":22865769,"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":["elixir"],"created_at":"2025-06-12T15:09:32.097Z","updated_at":"2025-06-12T15:09:35.516Z","avatar_url":"https://github.com/nallwhy.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Doumi.URI.Query\n\n[![Hex Version](https://img.shields.io/hexpm/v/doumi_uri_query.svg)](https://hex.pm/packages/doumi_uri_query)\n[![Hex Docs](https://img.shields.io/badge/hex-docs-lightgreen.svg)](https://hexdocs.pm/doumi_uri_query/)\n[![License](https://img.shields.io/hexpm/l/doumi_uri_query.svg)](https://github.com/nallwhy/doumi_uri_query/blob/master/LICENSE.md)\n[![Last Updated](https://img.shields.io/github/last-commit/nallwhy/doumi_uri_query.svg)](https://github.com/nallwhy/doumi_uri_query/commits/main)\n\n\n\u003c!-- MDOC !--\u003e\n\n`Doumi.URI.Query` is a helper library that supports encoding complicated query of URI.\n\n**도우미(Doumi)** means \"helper\" in Korean.\n\n## Usage\n\nIt's common to send nested maps or lists via query string even though it is not standardized.\n\n`URI.encode_query/2` does not support nested maps or lists and can't be customized to handle that.\n\n`Doumi.URI.Query` supports encoding maps or lists to query string. (only PHP-style now)\n\n```elixir\niex\u003e query = %{\"foo\" =\u003e %{\"bar\" =\u003e 1, \"baz\" =\u003e 2}}\niex\u003e Doumi.URI.Query.encode(query)\n\"foo%5Bbar%5D=1\u0026foo%5Bbaz%5D=2\" # foo[bar]=1\u0026foo[baz]=2\n\niex\u003e query = %{\"foo\" =\u003e [1, 2, 3]}\niex\u003e Doumi.URI.Query.encode(query)\n\"foo%5B%5D=1\u0026foo%5B%5D=2\u0026foo%5B%5D=3\" # foo[]=1\u0026foo[]=2\u0026foo[]=3\n```\n\n## Installation\n\nIf [available in Hex](https://hexdocs.pm/doumi_uri_query/), the package can be installed\nby adding `doumi_phoenix_svg` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [\n    {:doumi_uri_query, \"~\u003e 0.1.0\"}\n  ]\nend\n```\n\n\u003c!-- MDOC !--\u003e\n\n## TODO\n\n- [ ] Support encode list like `\"foo=1\u0026foo=2\u0026foo=3\"`\n- [ ] Support encode list like `\"foo=1,2,3\"`\n\n## Other Doumi packages\n\n- [Doumi.Phoenix.SVG](https://github.com/nallwhy/doumi_phoenix_svg): A helper library that generates Phoenix function components from SVG files.\n\n## Copyright and License\n\nCopyright (c) 2022 Jinkyou Son (Json)\n\nThis work is free. You can redistribute it and/or modify it under the\nterms of the MIT License. See the [LICENSE.md](./LICENSE.md) file for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnallwhy%2Fdoumi_uri_query","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnallwhy%2Fdoumi_uri_query","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnallwhy%2Fdoumi_uri_query/lists"}