1
0
Fork 0
mirror of https://github.com/moritzruth/node-enttec-open-dmx-usb.git synced 2025-04-21 07:41:22 +02:00

Fix typo in README.md

This commit is contained in:
Moritz Ruth 2019-12-26 15:45:40 +01:00
parent 0f2edc5c7c
commit 2798e8c022
No known key found for this signature in database
GPG key ID: FE38A0B03AA331BA
2 changed files with 19 additions and 1467 deletions

View file

@ -4,16 +4,16 @@
## Installation ## Installation
```bash ```bash
yarn add node-enttec-open-dmx-usb yarn add enttec-open-dmx-usb
# or # or
npm install node-enttec-open-dmx-usb npm install enttec-open-dmx-usb
``` ```
## Usage ## Usage
All functions are documented using JSDoc and the code is not uglified, so feel free to [explore it](index.js). All functions are documented using JSDoc and the code is not uglified, so feel free to [explore it](index.js).
```js ```js
import { EnttecOpenDMXUSBDevice as DMXDevice } from "node-enttec-open-dmx-usb"; import { EnttecOpenDMXUSBDevice as DMXDevice } from "enttec-open-dmx-usb";
(async () => { (async () => {
const device = new DMXDevice(await DMXDevice.getFirstAvailableDevice()); const device = new DMXDevice(await DMXDevice.getFirstAvailableDevice());

1480
yarn.lock

File diff suppressed because it is too large Load diff