{"repo":"Ernxst/svelte-query-params","free":true,"listed":false,"github":"https://github.com/Ernxst/svelte-query-params","clone":"git clone https://github.com/Ernxst/svelte-query-params.git","description":"The easiest way to reactively manage query params in Svelte and SvelteKit applications, both on the server and in the browser.","language":"TypeScript","stars":22,"topics":["query-params","reactivity","svelte","sveltekit","hooks","query","query-parameters","querystring","search","search-params"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"Svelte Query Params The easiest way to reactively manage query params in Svelte and SvelteKit applications, both on the server and in the browser. Built for Svelte 5 and integrates with existing validation libraries to parse, coerce and transform query params into the data your application needs. Installation svelte^5 is required: svelte requires a version of 5.0.0-next.169 or newer as it renamed a public API that this library uses. By default, svelte-query-params uses URLSearchParams to handle interpreting the location string, which means it does not decode null and has limited handling of other more advanced URL parameter configurations. If you want access to those features, add a third-party library like query-string and tell svelte-query-params to use it. Features - Reactivity : The library providies a reactive object that reflects the current state of query parameters. - Browser and Server Support : The utility is designed to work seamlessly in both browser and server environments. - Customizable Validators : Define validators for each query parameter to ensure proper data types and constraints. - Debounced Updates : Optionally debounce updates to query parameters to optimize performance. - Event Handling : Automatically handles popstate events for accurate synchronisation with browser history. - Serialisation : Control how query params are serialised into strings to the browser - Multi-value params : Supports multi-value query parameters with ease Usage In some lib file","default_branch":null,"files":null,"tree":[],"storefront":"/r/Ernxst","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Ernxst/svelte-query-params/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}