dead-deps — what happened to your dependencies

Is querystring still maintained?

No — querystring stopped being maintained around February 2021. URLSearchParams covers this in the language or runtime now, so the right move is to delete the dependency rather than replace it.

Status
No longer maintained
Last maintained
February 2021
Use instead
URLSearchParams
Succession
Absorbed elsewhere
Drop-in
not applicable
Confidence
high

What replaced querystring?

URLSearchParams covers this in the language or runtime now, so the right move is to delete the dependency rather than replace it. There is no package to install; the dependency comes out and platform code goes in.

How to migrate from querystring to URLSearchParams

querystring.parse(s) becomes Object.fromEntries(new URLSearchParams(s)) and querystring.stringify(o) becomes new URLSearchParams(o).toString(). Check behaviour for repeated keys and nested objects, which differ; qs covers the nested case.

Why querystring is on this list

The userland querystring package mirrors Node's built-in module of the same name, which the Node documentation labels Legacy and does not recommend for new code. The npm package's deprecation notice repeats that wording and points at the WHATWG URLSearchParams API, which is a global in Node and in browsers. The last release was 0.2.1 in February 2021.

The succession is settled: primary sources agree and the ecosystem has already moved.

querystring alternatives

Beyond the primary recommendation, these are credible for querystring's use case:

Check your own project for querystring

npx dead-deps --all --min-state unmaintained

Run that in the directory holding your lockfile. If querystring is anywhere in your tree — a direct dependency or buried under something else — it appears in the report with this verdict, this successor and the same evidence links, alongside anything else that has stopped moving. Nothing is uploaded; the scan reads your lockfile locally and queries public registry metadata.

Exit code 1 means something was flagged, which makes npx dead-deps --min-state deprecated usable as a CI gate. See how verdicts are produced.

Evidence

Every claim on this page traces to a primary source. Check them:

See the full index of covered packages, or read the methodology for how a verdict is reached and why a quiet package is not a dead one.