1.0.2 • Published 1 year ago

portprobe v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

PortProbe

Table of Contents

About

PortProbe is a very easy to use port scanning NPM module that is lightweight.

Getting Started

This is how you could add PortProbe to your existing project.

Install package

npm install portprobe

Import module

const PortProbe = require('portprobe');

Usage

Scan single port

PortProbe.scanPort(${address}, ${port})

Function Paramaters

ParameterTypeRequiredDefault Value
IP addressStringTrueN/A
Port NumberIntegerTrueN/A
TimeoutIntegerFalse3000

Scan common ports

PortProbe.scanCommonPorts(${address})

Function Paramaters

ParameterTypeRequiredDefault Value
IP addressStringTrueN/A
TimeoutIntegerFalse3000
Additional PortsListFalse[]

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Authors

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago