qs
can typically be replaced with platform-provided APIs. When you need more functionality, there are other alternatives.
URLSearchParams is available starting in Node 10 and can be used when you don't need nesting or arrays
fast-querystring can be used when you need arrays but not nesting.
picoquery can be used when you need nesting and arrays.
v2.x
and above are ESM only.v1.x
is compatible with CommonJS and will be maintained with non-breaking changes.
qs-esm is an esm-only fork of qs
with the following core differences:
- No polyfills for legacy Node versions, making this package dependency-free and reducing bundle-size.
- Includes TypeScript types, eliminating the need to install a separate @types/ package.
neoqs is a fork of qs
with the following core differences:
- No polyfills for legacy Node versions, making this package dependency-free and reducing bundle-size.
- Includes TypeScript types, eliminating the need to install a separate @types/ package.
- ESM and CommonJS builds are provided.
- Legacy mode supporting ES5.