mirror of
https://github.com/siemens-mobile-hacks/node-serialport-bindings-cpp.git
synced 2026-11-25 18:37:19 +00:00
chore: fix readme and code coverage
This commit is contained in:
parent
052f07141b
commit
466d948b46
2 changed files with 11 additions and 30 deletions
39
README.md
39
README.md
|
|
@ -1,50 +1,31 @@
|
|||
# Node Serialport
|
||||
[](#backers) [](#sponsors)
|
||||
[](https://codecov.io/gh/serialport/node-serialport)
|
||||
[](https://actions-badge.atrox.dev/serialport/node-serialport/goto)
|
||||
[](https://travis-ci.org/serialport/node-serialport)
|
||||
[](https://ci.appveyor.com/project/serialport/node-serialport/branch/master)
|
||||
[](#backers)
|
||||
[](#sponsors)
|
||||
[](https://codecov.io/gh/serialport/bindings-cpp)
|
||||
[](https://github.com/serialport/bindings-cpp/actions/workflows/test.yml)
|
||||
|
||||
Access serial ports with JavaScript. Linux, OSX and Windows. Welcome your robotic JavaScript overlords. Better yet, program them!
|
||||
|
||||
> Go to https://serialport.io/ to learn more, find guides and api documentation.
|
||||
|
||||
## Quick Links
|
||||
|
||||
- [**Guides**](https://serialport.io/docs/)
|
||||
- [**API Docs**](https://serialport.io/docs/api-serialport)
|
||||
- [The `serialport` package api docs](https://serialport.io/docs/api-serialport)
|
||||
|
||||
### Serialport
|
||||
- [`serialport`](https://serialport.io/docs/api-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.
|
||||
|
||||
- [`@serialport/bindings`](https://serialport.io/docs/api-bindings) bindings for Linux, Mac and Windows
|
||||
- [`@serialport/binding-abstract`](https://serialport.io/docs/api-bindings-abstract) as an abstract class to use if you're making your own bindings
|
||||
- [`@serialport/binding-mock`](https://serialport.io/docs/api-binding-mock) for a mock binding package for testing
|
||||
|
||||
### Interfaces
|
||||
Interfaces take a binding object and provide a different API on top of it. Currently we only ship a Node Stream Interface.
|
||||
|
||||
- [`@serialport/stream`](https://serialport.io/docs/api-stream) our traditional Node.js 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.
|
||||
|
||||
- [@serialport/parser-byte-length](https://serialport.io/docs/api-parser-byte-length)
|
||||
- [@serialport/parser-cctalk](https://serialport.io/docs/api-parser-cctalk)
|
||||
- [@serialport/parser-delimiter](https://serialport.io/docs/api-parser-delimiter)
|
||||
- [@serialport/parser-readline](https://serialport.io/docs/api-parser-readline)
|
||||
- [@serialport/parser-ready](https://serialport.io/docs/api-parser-ready)
|
||||
- [@serialport/parser-regex](https://serialport.io/docs/api-parser-regex)
|
||||
- [@serialport/parser-slip-encoder](https://serialport.io/docs/api-parser-slip-encoder)
|
||||
|
||||
## Developing
|
||||
|
||||
### Developing node serialport projects
|
||||
|
||||
1. Clone this repo `git clone git@github.com:serialport/node-serialport.git`
|
||||
1. Run `npm install` to setup local package dependencies (run this any time you depend on a package local to this repo)
|
||||
1. Run `npm test` to ensure everything is working properly
|
||||
|
|
@ -56,12 +37,15 @@ Parsers are traditionally Transform streams, but Duplex streams and other non st
|
|||
See https://github.com/node-serialport/website
|
||||
|
||||
## License
|
||||
|
||||
SerialPort packages are all [MIT licensed](LICENSE) and all it's dependencies are MIT licensed.
|
||||
|
||||
## Code of Conduct
|
||||
|
||||
SerialPort follows the [Nodebots Code of Conduct](http://nodebots.io/conduct.html). 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.
|
||||
|
|
@ -83,7 +67,6 @@ If you have a PR that improves the project people in any or all of the above peo
|
|||
- [Francis Gulotta](https://twitter.com/reconbot) | [reconbot](https://github.com/reconbot)
|
||||
- [Nick Hehr](https://twitter.com/hipsterbrown) | [hipsterbrown](https://github.com/hipsterbrown)
|
||||
|
||||
|
||||
### Contributors
|
||||
|
||||
This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)].
|
||||
|
|
|
|||
|
|
@ -5,5 +5,3 @@ parsers:
|
|||
coverage:
|
||||
status:
|
||||
patch: off
|
||||
codecov:
|
||||
token: 262a74e1-f31b-4cd4-a6a1-cdb25c5c2285
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue