</>PackageGraphPackageGraph

finalhandler

npmv2.1.1

Node.js final http responder

Safe to adopt

Yes — finalhandler scores well across adoption, maintenance, weight, supply chain, and licensing. 132.1M downloads per week and 3 known dependents. Last published 282 days ago. 4 releases in the last 2 years.

  • AAdoption: grade A, Excellent.

    132.1M downloads per week and 3 known dependents.

  • BMaintenance: grade B, Good.

    Last published 282 days ago. 4 releases in the last 2 years.

  • BWeight: grade B, Good.

    Pulls in 8 transitive packages, about 108 KB installed.

  • ASupply chain: grade A, Excellent.

    No install scripts, 3 maintainers, and a contained dependency surface.

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding finalhandler to a project.

6
Direct dependencies

Runtime packages this one declares itself.

8
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

108 KB
Install size

Unpacked size of this package plus its entire runtime tree.

2
Tree depth

Longest resolved dependency chain below this package.

Licenses in the dependency tree

MIT

Every license you inherit by installing finalhandler, not just its own. Check this before a legal review, not after.

Compatibility

Node.js
node >= 18.0.0
Module format
CommonJS only
TypeScript
No bundled types
Install scripts
None

Quick start

A usage example from the finalhandler README.

const finalhandler = require('finalhandler')

Dependencies

Declared by finalhandler v2.1.1. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (10)

eslint ^7.32.0eslint-config-standard ^14.1.1eslint-plugin-import ^2.31.0eslint-plugin-markdown ^2.2.1eslint-plugin-node ^11.1.0eslint-plugin-promise ^5.2.0eslint-plugin-standard ^4.1.0mocha ^11.0.1nyc ^17.1.0supertest ^7.0.0

Used by

Popular packages that depend on finalhandler.

Relationship graph

Dependencies (left) and dependents (right) of finalhandler.

Frequently installed together

Release history

3 releases in the last two years, typically about 43 days apart.

Recent versions of finalhandler
VersionPublishedSizeLicense
2.1.1latest9 months ago18 KBMIT
1.3.29 months ago19 KBMIT
2.1.01 year ago17 KBMIT
1.3.12 years ago19 KBMIT
1.3.02 years ago19 KBMIT
2.0.02 years ago19 KBMIT
1.2.12 years ago18 KBMIT
1.2.04 years ago18 KBMIT
1.1.27 years ago17 KBMIT
1.1.18 years ago17 KBMIT
1.1.09 years agoMIT
1.0.69 years agoMIT
1.0.59 years agoMIT
1.0.49 years agoMIT
1.0.39 years agoMIT

Overview

finalhandler is an npm package that node.js final http responder. It is extremely widely used, with about 132.1M downloads per week and 3 known dependents in the graph. The latest version is 2.1.1, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need node.js final http responder and value a battle-tested, widely-adopted solution.

When not to use it

Consider an alternative if you need to minimize your dependency tree, have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.

Pros

  • Large, well-established user base (132.1M weekly downloads).
  • Clear open-source license (MIT).

Cons

  • Large dependency tree (16 direct dependencies) increases install size and audit surface.
  • No bundled TypeScript types (may require a separate @types package).

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Funding

Frequently asked questions

Should I use finalhandler?

Yes — finalhandler scores well across adoption, maintenance, weight, supply chain, and licensing. 132.1M downloads per week and 3 known dependents. Last published 282 days ago. 4 releases in the last 2 years.

How do I install finalhandler?

Run `npm install finalhandler` to add finalhandler to your npm project.

How many dependencies does finalhandler have?

finalhandler declares 16 direct dependencies and pulls in 8 packages in total once its runtime tree is resolved totalling about 108 KB on disk.

What license is finalhandler released under?

finalhandler is distributed under the MIT license.

How popular is finalhandler?

finalhandler has approximately 132,090,273 downloads per week and 3 known dependent packages.

Is finalhandler still maintained?

The most recent release of finalhandler (v2.1.1) was published 9 months ago.

Does finalhandler run install scripts?

No. finalhandler does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.