dead-deps — what happened to your dependencies

Is nightmare still maintained?

No — nightmare stopped being maintained around April 2019. The ecosystem moved to playwright, a separate project that took over the same job.

Status
No longer maintained
Last maintained
April 2019
Use instead
playwright on npm
Succession
Replacement project
Drop-in
no — expect code changes
Confidence
medium

What should I use instead of nightmare?

The ecosystem moved to playwright, a separate project that took over the same job. playwright is not a drop-in replacement, so expect to change call sites.

How to migrate from nightmare to playwright

Nightmare's chained .goto().type().click().end() calls translate to awaited Playwright equivalents on a page object; .evaluate() maps almost directly to page.evaluate().

Why nightmare is on this list

Nightmare's README opens with "NOTICE: This library is no longer maintained.", the repository is archived, and the last release was 3.0.2 in April 2019. It drove an older Electron build, and the README carries a security warning about undiscovered Electron vulnerabilities. Playwright and Puppeteer cover the same browser-automation ground with current browser engines.

The succession is well supported, but it is not the only defensible choice.

nightmare alternatives

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

Check your own project for nightmare

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

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