UNPKG

comportc

Version:

Allow you read and write a Serial Port

9 lines (8 loc) 226 B
interface SerialI { Open: (port: number, baud: number) => boolean; Read: () => string; Close: () => void; Write: (message: string) => string; } declare const _default: SerialI; export default _default;