GithubHelp home page GithubHelp logo

hhy5277 / node-serialport Goto Github PK

View Code? Open in Web Editor NEW

This project forked from serialport/node-serialport

0.0 1.0 0.0 3.75 MB

Node.js package to access serial ports. Linux, OSX and Windows. Welcome your robotic JavaScript overlords. Better yet, program them!

Home Page: https://serialport.io

License: MIT License

JavaScript 70.28% Python 0.44% C++ 28.42% C 0.19% HTML 0.45% CSS 0.22%

node-serialport's Introduction

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, find guides and api documentation.

Quick Links

Serialport

  • serialport 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

Developing node serialport projects

  1. Clone this repo git clone [email protected]: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 licensed.

Code of Conduct

SerialPort follows the Nodebots Code of Conduct. While the code is MIT licensed participation in the community has some rules to make this a good place to work and learn.

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.

Governance and Community

SerialPort is currently employees a governance with a group of maintainers, committers and contributors, all fixing bugs and adding features and improving documentation. You need not apply to work on SerialPort, all are welcome to join, build, and maintain this project.

  • A Contributor is any individual creating or commenting on an issue or pull request. By participating, this is you.
  • Committers are contributors who have been given write access to the repository. They can review and merge pull requests.
  • Maintainers are committers representing the required technical expertise to resolve rare disputes.

If you have a PR that improves the project people in any or all of the above people will help you land it.

Maintainers

node-serialport's People

Contributors

adrai avatar akajes avatar bigkevmcd avatar chalkers avatar deadprogram avatar dsanders11 avatar edgarsilva avatar fivdi avatar giseburt avatar greenkeeper[bot] avatar greenkeeperio-bot avatar hipsterbrown avatar ivansanchez avatar jacobrosenthal avatar jaybeavers avatar jgautier avatar jgillick avatar joeferner avatar johannesrudolph avatar mscdex avatar pabigot avatar pmhpereira avatar programmarchy avatar reconbot avatar rwaldron avatar stewart avatar timnew avatar tmpvar avatar tootallnate avatar tuna-f1sh avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.