1.0.0 • Published 3 years ago

webports v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Installation

npm

npm i webports

github

git clone https://github.com/XDumpy/webports

Usage

//Requirement Importer
const Webports = require("./index")

//Main
Webports.scan("https://www.npmjs.com", [80, 8080, 40, 20], function(callback){
	console.log(callback)
})

API

scan(url, ports, callback)

returns the website available specified ports.

url

The website to be scan(Don't add / in the last of the url).

ports

ports to be used in the scan for the website(Make sure it's a table).

callback

To recieve module callback/result.

License

MIT © XDumpy