@technoculture/data-bridge 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
# @
|
|
1
|
+
# @technoculture/data-bridge
|
|
2
2
|
|
|
3
3
|
Guaranteed reliable serial communication for Node.js and Electron.
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install @
|
|
8
|
+
npm install @technoculture/data-bridge
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
Pre-built binaries are included for Windows and Linux (x64, arm64).
|
|
@@ -13,7 +13,7 @@ Pre-built binaries are included for Windows and Linux (x64, arm64).
|
|
|
13
13
|
## Usage
|
|
14
14
|
|
|
15
15
|
```typescript
|
|
16
|
-
import { DataBridge } from '@
|
|
16
|
+
import { DataBridge } from '@technoculture/data-bridge';
|
|
17
17
|
|
|
18
18
|
// Open a serial port
|
|
19
19
|
const bridge = await DataBridge.open('/dev/ttyUSB0', { baudRate: 115200 });
|