云盘
志元云盘
备份云盘
Home
/
志元云盘
/
webdav
/
home
/
moxa
/
c
/
vue-modbus
/
node_modules
/
@serialport
/
stream
File
OriginalPic
Thumbnails
CopyAllDownloadUrl
EditTime
Size
dist
2024-01-09 19:46:36
26.43 KB
LICENSE
1985-10-26 16:15:00
1.08 KB
package.json
1985-10-26 16:15:00
711 B
README.md
1985-10-26 16:15:00
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-09-02 13:56:45 Tuesday 216.73.216.107 Runningtime:0.019s Mem:1.48 MB