query-string
Parse and stringify URL query strings
About this project
query-string Parse and stringify URL query strings Install [!WARNING] Remember the hyphen! Do not install the deprecated querystring package! For browser usage, this package targets the latest version of Chrome, Firefox, and Safari. [!TIP] Consider using URLSearchParams for simple use cases. It's a native browser API that handles basic query string operations. Usage API .parse(string, options?) Parse a query string into an object. Leading ? or # are ignored, so you can pass location.search or location.hash directly. The returned object is created with Object.create(null) and thus does not have a prototype. options Type: object decode Type: boolean\ Default:…
Technologies
Project health
GitHub
Reviews
Built by
Maintain sindresorhus/query-string? Claiming verifies admin access through your GitHub account and gives you control of this listing.