# escpos-bluetooth

> bluetooth adapter for escpos

Latest version **3.0.0-alpha.2** (published 2020-03-05) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.0.0-alpha.2 |
| Published | 2020-03-05 |
| First published | 2020-02-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 6.8 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Lsong |
| Maintainers | song940 |
| Keywords | escpos, escpos-adapter |

## Links

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

## Dependencies (1)

- [node-bluetooth](https://npm.io/package/node-bluetooth.md) *

## Recent versions

- 3.0.0-alpha.2 (latest) — 2020-03-05
- 3.0.0-alpha.1 — 2020-02-25
- 3.0.0-alpha.0 — 2020-02-25
- 0.0.1-alpha.0 — 2020-02-24

## README

#### Bluetooth(address, channel)
```javascript
const escpos = require('escpos');
escpos.Bluetooth = require('escpos-bluetooth');

const address = '01:23:45:67:89:AB';
const channel = 1;
const bluetoothDevice = new escpos.Bluetooth(address, channel);
```
You can scan for printers using the `escpos.Bluetooth.findPrinters()` method. Check out the examples (bt_promise and bt_find_printer) for more information.

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