dead-deps — what happened to your dependencies

Is left-pad still maintained?

No — left-pad stopped being maintained around April 2018. String.prototype.padStart 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
April 2018
Use instead
String.prototype.padStart
Succession
Absorbed elsewhere
Drop-in
not applicable
Confidence
high

What replaced left-pad?

String.prototype.padStart 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 left-pad to String.prototype.padStart

leftPad(str, len, ch) becomes String(str).padStart(len, ch); note that padStart is a string method, so the argument order changes.

Why left-pad is on this list

left-pad carries an npm deprecation notice consisting of a single line: use String.prototype.padStart(). padStart has been part of the language since ES2017 and is available in every maintained runtime. The package still installs and still works, but has not been published since April 2018 and its repository is archived.

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

left-pad alternatives

The dataset lists no second option: String.prototype.padStart is where the ecosystem went, and nothing else has meaningful adoption.

Check your own project for left-pad

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

Run that in the directory holding your lockfile. If left-pad 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.