# bluetooth-scanner

> Bluetooth 4.0 LE scanner to find near by Bluetooth devices.

Latest version **1.0.1** (published 2015-04-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install bluetooth-scanner
pnpm add bluetooth-scanner
yarn add bluetooth-scanner
bun add bluetooth-scanner
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2015-04-29 |
| First published | 2015-04-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 15 |
| Author | Pedro Paixao |
| Maintainers | ppaixao |
| Keywords | bluetooth, scanner |

## Links

- npm: https://www.npmjs.com/package/bluetooth-scanner
- Repository: https://github.com/paixaop/node-bluetooth-scanner
- Issues: https://github.com/paixaop/node-bluetooth-scanner/issues
- npm.io page: https://npm.io/package/bluetooth-scanner

## Recent versions

- 1.0.1 (latest) — 2015-04-29
- 1.0.0 — 2015-04-28

## README

# Bluetooth-Scanner
An easy to use bluetooth scanner for node. Requires a Linux OS with bluez stack tools (hciconfig, hcitool, hcidump) to be installed.

## Usage
The bluetooth-scanner is designed as a singleton class. It can be used as followed:

    #require module
    Scanner = require("bluetooth-scanner");

    # define input
    var device = "hci0";
    
    # Scan for devices
    bleScanner = new Scanner(device, function(mac, name) {
        console.log('Found device: ' + name);
    });


The callback function will be called for each device found.

# Credits

Based on BLE-Scanner from Martin Gradler

# License

MIT

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