# scanlan

> Scan your LAN in Node

Latest version **0.1.2** (published 2017-09-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install scanlan
pnpm add scanlan
yarn add scanlan
bun add scanlan
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.2 |
| Published | 2017-09-20 |
| First published | 2017-09-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Pedro Palhari Santos |
| Maintainers | pedropalhari |
| Keywords | scan, lan, ping |

## Links

- npm: https://www.npmjs.com/package/scanlan
- npm.io page: https://npm.io/package/scanlan

## Dependencies (2)

- [request](https://npm.io/package/request.md) ^2.82.0
- [request-promise-native](https://npm.io/package/request-promise-native.md) ^1.0.4

## Recent versions

- 0.1.2 (latest) — 2017-09-20
- 0.1.1 — 2017-09-20
- 1.0.0 — 2017-09-20

## README

# 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.

```javascript
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](LICENSE.md) file for details.

## Credits

* [request](https://github.com/request/request)

---
_Source: https://npm.io/package/scanlan · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
