The C++ bindings for the node serialport project. (Fork)
Find a file
2018-07-24 03:06:08 -04:00
.github chore(github): lock old issues and prs 2018-02-05 10:06:33 -05:00
docs chore: change to a monorepo structure with Lerna (#1586) 2018-07-24 01:15:09 -04:00
packages fix: mocha opts 2018-07-24 03:06:08 -04:00
test chore: change to a monorepo structure with Lerna (#1586) 2018-07-24 01:15:09 -04:00
.eslintignore chore: change to a monorepo structure with Lerna (#1586) 2018-07-24 01:15:09 -04:00
.eslintrc chore: change to a monorepo structure with Lerna (#1586) 2018-07-24 01:15:09 -04:00
.gitignore chore: change to a monorepo structure with Lerna (#1586) 2018-07-24 01:15:09 -04:00
.jsdoc.json chore: change to a monorepo structure with Lerna (#1586) 2018-07-24 01:15:09 -04:00
.travis.yml chore: change to a monorepo structure with Lerna (#1586) 2018-07-24 01:15:09 -04:00
appveyor.yml chore: change to a monorepo structure with Lerna (#1586) 2018-07-24 01:15:09 -04:00
CODE_OF_CONDUCT.md Code of Conduct 2016-04-10 00:12:42 -04:00
codecov.yml chore: change to a monorepo structure with Lerna (#1586) 2018-07-24 01:15:09 -04:00
lerna.json chore: change to a monorepo structure with Lerna (#1586) 2018-07-24 01:15:09 -04:00
LICENSE Pull README edits into the template and JS Doc 2017-06-18 21:24:51 -04:00
package.json chore: change to a monorepo structure with Lerna (#1586) 2018-07-24 01:15:09 -04:00
README.md chore: change to a monorepo structure with Lerna (#1586) 2018-07-24 01:15:09 -04:00
test-config.json feat(linux): Custom baud rates for linux (eg 250k baudrate) (#1464) 2018-02-05 09:33:11 -05:00

Node Serialport

npm Gitter chat Known Vulnerabilities codecov Build Status Build status Greenkeeper badge

A collection of packages to work with serialports and hardware.

Quick Answers to Important Questions

Intro to Node-Serialport

Imagine a world where you can write JavaScript to control blenders, lights, security systems, or even robots. That's right—robots! Thanks to Node Serialport, that world is here.

Node-Serialport provides a stream interface for the low-level serial port code necessary to control Arduino chipsets, X10 interfaces, Zigbee radios, highway signs, lcd screens, cash drawers, motor controllers, sensor packages, fork lifts, modems, drones, CNC machines, plotters, vending machines, ccTalk coin accecptors, SMS Gateways, RFID scanners and much more. If you have a hardware device with a UART we can speak to it. The physical world is your oyster with this goodie.

For a full breakdown of why we made Node-Serialport, please read NodeBots - The Rise of JS Robotics. It explains why one would want to program robots in JS in the first place. It's not being against firmware but we can be better than it.

Developing node serialport projects

  1. Clone this repo git clone git@github.com:node-serialport/node-serialport.git
  2. Run npx lerna bootstrap 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

API Documentation

See our changelog for what's new, and our upgrade guide for a walk-through on differences between major versions.

Older versions are no longer supported but their docs can be found by looking through release tags.

You can generate the docs by running

npm run docs

And browsing to ./docs/index.html.