
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
@juliendu11/network-devices-scanner-api
Advanced tools
Finds devices connected to the same networks as you. Module made in Typescript
Finds devices connected to the same networks as you. Module made in Typescript
npm i @juliendu11/network-devices-scanner-api
Create a instance of NetworkDevicesScannerAPI
â ď¸ Searching for a device may take a while
const {NetworkDevicesScannerAPI} =require('@juliendu11/network-devices-scanner-api')
const instance = new NetworkDevicesScannerAPI()
const connections = instance.findConnections(); // => [{Name, Address}]
const myWifiConnection = connections[0] // Select the type of connection on which you want to launch a scan, for wifi the name starts with w (wlan, wlp). Here is the first element of the table for me
console.log(await instance.findDevices(myWifiConnection))
//Output example:
// [
// DeviceInfo { Address: '192.168.1.1', Name: 'box' },
// DeviceInfo { Address: '192.168.1.23', Name: 'LAPTOP-4NVU9SON' },
// DeviceInfo {
// Address: '192.168.1.30',
// Name: 'android-a4f889416fdaf0b2'
// },
// DeviceInfo { Address: '192.168.1.41', Name: 'DC-PC' },
// DeviceInfo {
// Address: '192.168.1.43',
// Name: 'HUAWEI_P40_lite-f27a82d5f'
// },
// DeviceInfo { Address: '192.168.1.44', Name: 'RedmiNote8-xoemi' },
// DeviceInfo { Address: '192.168.1.54', Name: 'RedmiNote8T-Redmi' },
// DeviceInfo { Address: '192.168.1.90', Name: 'RedmiNote7-Redmi' },
// DeviceInfo { Address: '192.168.1.99', Name: 'JulienArchLinux' }
// ]
The host name and address of devices connected to the same network as you are displayed
FAQs
Finds devices connected to the same networks as you. Module made in Typescript
We found that @juliendu11/network-devices-scanner-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.