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:
parent
0f2edc5c7c
commit
2798e8c022
2 changed files with 19 additions and 1467 deletions
|
@ -4,16 +4,16 @@
|
|||
|
||||
## Installation
|
||||
```bash
|
||||
yarn add node-enttec-open-dmx-usb
|
||||
yarn add enttec-open-dmx-usb
|
||||
# or
|
||||
npm install node-enttec-open-dmx-usb
|
||||
npm install enttec-open-dmx-usb
|
||||
```
|
||||
|
||||
## Usage
|
||||
All functions are documented using JSDoc and the code is not uglified, so feel free to [explore it](index.js).
|
||||
|
||||
```js
|
||||
import { EnttecOpenDMXUSBDevice as DMXDevice } from "node-enttec-open-dmx-usb";
|
||||
import { EnttecOpenDMXUSBDevice as DMXDevice } from "enttec-open-dmx-usb";
|
||||
|
||||
(async () => {
|
||||
const device = new DMXDevice(await DMXDevice.getFirstAvailableDevice());
|
||||
|
|
Loading…
Add table
Reference in a new issue