云盘
志元云盘
备份云盘
Home
/
志元云盘
/
webdav
/
sync
/
c
/
vue-modbus
/
node_modules
/
@serialport
/
stream
File
OriginalPic
Thumbnails
CopyAllDownloadUrl
EditTime
Size
dist
2024-07-23 01:13:07
26.43 KB
LICENSE
2024-07-14 16:18:57
1.08 KB
package.json
2024-07-14 16:18:57
711 B
README.md
2024-07-14 16:18:57
622 B
# @serialport/stream The serialport stream interface. This package requires bindings to work. You'd use this if you want to keep your package size down by requiring only the parts of serialport that you want to use. It is used internally in the `serialport` package. This is how you use it. ```ts const { SerialPortStream } = require('@serialport/stream') const { autoDetect } = require('@serialport/bindings-cpp') const binding = autoDetect() const port = new SerialPortStream({ binding, path: '/dev/ttyay', baudRate: 9600 }) ``` Learn more at our [stream documentation](https://serialport.io/docs/api-stream) page.
2025-08-29 19:58:39 Friday 216.73.216.167 Runningtime:0.023s Mem:1.48 MB