query-string

by sindresorhus · Web

Parse and stringify URL query strings

New0 ratings6,907 starsActive
WebDeveloper ToolJavaScriptTypeScript
↓ Download v9.5.1GitHub⚑ Report
query-string — image 1

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

TypeScriptJavaScriptnpm-packageparsequery-string

Project health

Actively maintained
Last updatelast week
Contributors71
Latest releasev9.5.1
Open issues & PRs3
LicenseMIT
On GitHubsince 2013

GitHub

6,907
stars
455
forks
71
contributors
3
open issues & PRs
JavaScript
language
last week
last commit
View on GitHub ↗All releases ↗

Reviews

out of 5 · 0 ratings
★★★★★
0%
★★★★
0%
★★★
0%
★★
0%
0%
Sign in to write a review
No reviews yet
Be the first to review query-string.

Built by

sindresorhus
Imported from GitHub · not yet claimed on GitPalace
View developer pageSign in with GitHub to claim

Maintain sindresorhus/query-string? Claiming verifies admin access through your GitHub account and gives you control of this listing.

You might also like