| .github | ||
| docs | ||
| packages | ||
| test | ||
| .eslintignore | ||
| .eslintrc | ||
| .gitignore | ||
| .jsdoc.json | ||
| .travis.yml | ||
| appveyor.yml | ||
| CODE_OF_CONDUCT.md | ||
| codecov.yml | ||
| lerna.json | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| test-config.json | ||
Node Serialport
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
- Clone this repo
git clone git@github.com:node-serialport/node-serialport.git - Run
npx lerna bootstrapto setup local package dependencies (run this any time you depend on a package local to this repo) - Run
npm testto ensure everything is working properly - Run
npm run generateto 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.