Most of the api is covered in the Stream Interface docs.
Historically this was the only package involved and it contained everything. Since version 7 the internals have been split into their own modules and be required separately allowing a user to only install what they require.
This allows for smaller installs and alternative interfaces, bindings and parsers.
This is the Stream Interface constructor. It comes pre-populated with
This package includes the
@serialport/bindings package already attached to the stream interface.
Comes with the following parsers available for use.
Parsers are all Transform streams that process incoming data. To use the parsers, you must create them and then pipe the Serialport to the parser. Be careful to only write to the SerialPort object and not the parser.