The C++ bindings for the node serialport project. (Fork)
Find a file
2018-09-15 01:45:54 -04:00
.generators docs: fix doc links 2018-09-09 05:20:47 -04:00
.github chore: split out more packages (#1611) 2018-08-25 09:31:34 -07:00
bin chore: drop node 4 and upgrade to node 6 features (#1633) 2018-08-25 18:41:39 -07:00
docs docs: Improve readme and homepage 2018-09-09 12:58:52 -04:00
packages chore(package): update debug to version 4.0.1 (#1661) 2018-09-15 01:45:54 -04:00
test chore: use Prettier for formatting (#1635) 2018-08-25 19:05:56 -07:00
.eslintignore chore: change to a monorepo structure with Lerna (#1586) 2018-07-24 01:15:09 -04:00
.eslintrc docs: New docs system (#1647) 2018-09-09 05:12:19 -04:00
.gitignore chore: split out more packages (#1611) 2018-08-25 09:31:34 -07:00
.gitignore-example-from-docusaurus docs: New docs system (#1647) 2018-09-09 05:12:19 -04:00
.jsdoc.json chore: change to a monorepo structure with Lerna (#1586) 2018-07-24 01:15:09 -04:00
.travis.yml chore: split out more packages (#1611) 2018-08-25 09:31:34 -07:00
appveyor.yml chore: split out more packages (#1611) 2018-08-25 09:31:34 -07:00
CODE_OF_CONDUCT.md docs: Improve readme and homepage 2018-09-09 12:58:52 -04:00
codecov.yml chore: split out more packages (#1611) 2018-08-25 09:31:34 -07:00
CONTRIBUTING.md chore: merge serialport-utils into main repo 2018-07-24 03:06:08 -04:00
greenkeeper.json chore: enable greenkeeper monorepo edition 2018-08-28 22:10:27 -04:00
lerna.json fix: prebuild now pays attention to lerna tags (#1639) 2018-08-28 23:24:47 -04:00
LICENSE Pull README edits into the template and JS Doc 2017-06-18 21:24:51 -04:00
package.json docs: New docs system (#1647) 2018-09-09 05:12:19 -04:00
plopfile.js docs: New docs system (#1647) 2018-09-09 05:12:19 -04:00
PUBLISHING.md docs(publishing): add a note about 2fa 2018-08-28 23:25:10 -04:00
README.md docs: Improve readme and homepage 2018-09-09 12:58:52 -04:00
test-config.json feat(linux): Custom baud rates for linux (eg 250k baudrate) (#1464) 2018-02-05 09:33:11 -05:00
UPGRADE_GUIDE.md chore: merge serialport-utils into main repo 2018-07-24 03:06:08 -04:00

Node Serialport

lerna codecov Build Status Build status Greenkeeper badge

Working with serial ports can be hard, this is a collection of projects that make it easier.

Go to https://serialport.io/ to learn more.

Quick Answers to Important Questions

Chances are you're looking for the serialport package which provides a good set of defaults for most projects. However it is quite easy to mix and match the parts of serialport you need.

Bindings

The Bindings provide a low level interface to work with your serialport. It is possible to use them alone but it's usually easier to use them with an interface.

Interfaces

Interfaces take a binding object and provide a different API on top of it. Currently we only ship a Node Stream Interface.

Parsers

Parsers are used to take raw binary data and transform them into usable messages. This may include tasks such as converting the data to text, emitting useful chunks of data when they have been fully received, or even validating protocols.

Parsers are traditionally Transform streams, but Duplex streams and other non stream interfaces are acceptable.

Developing node serialport projects

  1. Clone this repo git clone git@github.com:node-serialport/node-serialport.git
  2. Run npm install to setup local package dependencies (run this any time you depend on a package local to this repo)
  3. Run npm test to ensure everything is working properly
  4. Run npm run generate to generate a new project
  5. Add dev dependencies to the root package.json and package dependencies to the package's one.

Developing Docs

You can develop the docs by running

npm run docs:dev

And build them by running

npm run docs

Docs are automatically built with netlify including previews on branches. The master branch is deployed to https://serialport.io

License

SerialPort packages are all MIT licensed and all it's dependencies are MIT or BSD licensed.

Code of Conduct

SerialPort follows the Nodebots Code of Conduct.

TLDR

  • Be respectful.
  • Abusive behavior is never tolerated.
  • Data published to NodeBots is hosted at the discretion of the service administrators, and may be removed.
  • Don't build evil robots.
  • Violations of this code may result in swift and permanent expulsion from the NodeBots community.