# escpos-usb

> usb adapter for escpos

Latest version **3.0.0-alpha.4** (published 2020-06-16) · MIT license · 0 weekly downloads

## Install

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

## 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.4 |
| Published | 2020-06-16 |
| First published | 2020-02-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 6.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Lsong |
| Maintainers | song940 |

## Links

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

## Dependencies (1)

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

## Recent versions

- 3.0.0-alpha.4 (latest) — 2020-06-16
- 3.0.0-alpha.2 — 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

#### USB(vid, pid)
```javascript
const escpos = require('escpos');
escpos.USB = require('escpos-usb');

const usbDevice = new escpos.USB(0x01, 0xff);
```
vid(Vendor Id) and pid (Product Id) can be checked with the `lsusb` command or `escpos.USB.findPrinter()` method.

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