{"id":17991729,"url":"https://github.com/frankdilo/use-query-string","last_synced_at":"2025-04-04T04:17:03.873Z","repository":{"id":148515113,"uuid":"237801905","full_name":"frankdilo/use-query-string","owner":"frankdilo","description":"Use query strings comfortably with React Hooks.","archived":false,"fork":false,"pushed_at":"2020-02-02T16:55:55.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-09T15:41:39.359Z","etag":null,"topics":["hooks","query-string","react"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/frankdilo.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":"2020-02-02T16:41:50.000Z","updated_at":"2023-01-20T10:44:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"6bc6e1b0-6147-4464-8fd7-68b172214db1","html_url":"https://github.com/frankdilo/use-query-string","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/frankdilo%2Fuse-query-string","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frankdilo%2Fuse-query-string/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frankdilo%2Fuse-query-string/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frankdilo%2Fuse-query-string/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frankdilo","download_url":"https://codeload.github.com/frankdilo/use-query-string/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247117762,"owners_count":20886439,"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":["hooks","query-string","react"],"created_at":"2024-10-29T19:23:57.036Z","updated_at":"2025-04-04T04:17:03.850Z","avatar_url":"https://github.com/frankdilo.png","language":"TypeScript","readme":"# useQueryString\n\n#### 🙋‍♂️ Made by [@frankdilo](https://twitter.com/frankdilo)\n\n## Install\n\n```\nnpm install use-query-string\nyard add use-query-string\n```\n\n## Basic usage\n\n```jsx\nimport useQueryString from \"use-query-string\";\n\nconst username = useQueryString(\"username\");\n```\n\n## Transformers\n\nTransformers allow you to modify the value you get from `useQueryString`. They are functions that receive the raw query string value and return a transformed version.\n\nHere is an example:\n\n```jsx\nimport useQueryString from \"use-query-string\";\n\nconst id = useQueryString(\"id\", parseInt);\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrankdilo%2Fuse-query-string","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrankdilo%2Fuse-query-string","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrankdilo%2Fuse-query-string/lists"}