or run

npx @tessl/cli init
Log in

Version

Files

docs

index.mdport-configuration.mdport-finding.mdsocket-finding.md
tile.json

tessl/npm-portfinder

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

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
npmpkg:npm/portfinder@1.0.x

With Tessl

Agent performance with Tessl

82%

Improvement

Agent performance improvement using Tessl

+32%

To install, run

npx @tessl/cli install tessl/npm-portfinder@1.0.0
OverviewEval results

Assessment results

Generated

Agent Claude Code

Scenario 1

Port search bounds validation with clear exhaustion errors

12%

Scenario 2

Single free TCP port lookup (callback or promise)

-2%

Scenario 3

Deterministic next candidate helpers for ports and sockets

9%

Scenario 4

Free Unix socket or Windows pipe path discovery

80%

Scenario 5

Custom host scanning with default host detection and invalid-host pruning

45%

Scenario 6

Global configuration of base/highest ports and base socket path

-10%

Scenario 7

Multiple sequential free ports retrieval

90%