Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on May 10, 2024 via pnpm
Package summary
Share
0
issues
1
license
4
MIT
Package created
13 Nov 2013
Version published
3 Feb 2024
Maintainers
1
Total deps
4
Direct deps
3
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
4 Packages, Including:
decode-uri-component@0.4.1
filter-obj@5.1.0
query-string@8.2.0
split-on-first@3.0.0
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

3
All Dependencies CSV
β“˜ This is a list of query-string 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
decode-uri-component0.4.12.97 kBMIT
prod
filter-obj5.1.02.09 kBMIT
prod
split-on-first3.0.01.81 kBMIT
prod

Visualizations

Frequently Asked Questions

What does query-string do?

The query-string library is a powerful JavaScript-based tool that aids in the parsing and stringification of URL query strings. It is designed to facilitate the handling of URL parameters, making it convenient and efficient to decode, analyze, manipulate, and recreate query strings.

How do you use query-string?

To utilize the query-string library, you should first install it via npm:

npm install query-string

Afterwards, you can use the following JavaScript code as a guide for how the library could be implemented into your project:

import queryString from 'query-string';

// Parse a URL query string
const parsed = queryString.parse(location.search);

// Modify the parsed object
parsed.foo = 'unicorn';
parsed.ilike = 'pizza';

// Stringify the object back into a query string
const stringified = queryString.stringify(parsed);

// Replace the current page's query string with the new one
location.search = stringified;

In this example, the parse() function is used to convert a URL query string into an accessible JavaScript object. After modifying the object, the stringify() function is utilized to turn the object back into a query string.

Where are the query-string docs?

The exquisite detail and comprehensive explanations contained in the query-string documentation provide developers with every necessary piece of information. From basic usage to more complicated topics, every feature and function is thoroughly touched upon. The documentation is embedded within the GitHub repository of the library and can be accessed here: https://github.com/sindresorhus/query-string.