New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

scanlan

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scanlan

Scan your LAN in Node

latest
npmnpm
Version
0.1.2
Version published
Maintainers
1
Created
Source

searchLAN

Node.js package that searchs the LAN for IP addresses.

Installing

npm install searchlan --save

Example

It can be found in the /example folder.

var scanLAN = require('../index.js');

scanLAN('192.168.0.1').then(result => {
    console.log(result); //['192.168.0.1, '192.168.0.2', ..., '192.168.0.254']
})

scanLAN('192.168.0.1', 10000, 100, 110).then(result => {
    console.log(result); //['192.168.0.1, '192.168.0.100', ..., '192.168.0.109'] with a 10 second timeout
})

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Credits

  • request

Keywords

scan

FAQs

Package last updated on 20 Sep 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts