Skip to content
JS
Package

portfinder

A simple tool to find an open port on the current machine

v1.0.38, 12 Sept 2025MITCommonJSTypes: Bundled
$ npm install portfinder

Key numbers

As of 25 Sept 2026
Weekly downloads
12.5m
+41% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
1 year ago
v1.0.38
GitHub stars
899
100 forks
Open issues / PRs
4 / 1
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
05m10m15mSept 2025Mar 2026Sept 2026High 14.6m (25 Aug 2026)Low 4.7m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

12,498,934 downloads last week, 53,844,450 in the last month. The 12-month change of +41% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
043 in total
Latest version
1.0.38, 12 Sept 20251 year ago
First published
8 Jul 2011
Last push to GitHub
21 Nov 2025307 days before the snapshot
Repository archived
No
Open issues
4
Open pull requests
1
Commits, last 52 weeks
0
Dependents on npm
2,310

Major versions

  1. v1 first release 1.0.0, 3 Feb 2016
  2. v0 first release 0.1.0, 8 Jul 2011

Recent releases

VersionPublished
1.0.3812 Sept 2025
1.0.3728 Apr 2025
1.0.3614 Apr 2025
1.0.3514 Mar 2025
1.0.3411 Mar 2025
1.0.3326 Feb 2025
1.0.3213 Aug 2022
1.0.3113 Aug 2022
1.0.3013 Aug 2022
1.0.296 Aug 2022
1.0.2829 Jul 2020
1.0.2720 Jul 2020
1.0.2628 Apr 2020
1.0.2515 Oct 2019
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>= 10.12
Runtimes
-
Unpacked size (npm)
22 kB
Dependencies (2)
asyncdebug
npm install portfinder
  • jsDelivrhttps://cdn.jsdelivr.net/npm/portfinder@1.0.38/
  • unpkghttps://unpkg.com/portfinder@1.0.38/
  • esm.shhttps://esm.sh/portfinder@1.0.38
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.