Gathering detailed insights and metrics for serialport
Gathering detailed insights and metrics for serialport
Gathering detailed insights and metrics for serialport
Gathering detailed insights and metrics for serialport
@serialport/bindings-cpp
SerialPort Hardware bindings for node serialport written in c++
@serialport/bindings-interface
SerialPort Bindings Typescript Types
@serialport/stream
The serialport stream interface. This package requires bindings to work.
@serialport/parser-delimiter
See our api docs https://serialport.io/docs/api-parser-delimiter
Access serial ports with JavaScript. Linux, OSX and Windows. Welcome your robotic JavaScript overlords. Better yet, program them!
npm install serialport
Typescript
Module System
Min. Node Version
Node Version
NPM Version
93.9
Supply Chain
95.1
Quality
79
Maintenance
100
Vulnerability
100
License
TypeScript (85.61%)
JavaScript (13.42%)
HTML (0.79%)
C++ (0.19%)
Total Downloads
21,077,313
Last Day
6,546
Last Week
89,407
Last Month
378,943
Last Year
4,131,629
MIT License
5,919 Stars
2,121 Commits
1,013 Forks
172 Watchers
60 Branches
167 Contributors
Updated on Jul 02, 2025
Minified
Minified + Gzipped
Latest Version
13.0.0
Package Id
serialport@13.0.0
Unpacked Size
11.98 kB
Size
4.39 kB
File Count
9
NPM Version
lerna/7.2.0/node@v20.18.1+arm64 (darwin)
Node Version
20.18.1
Published on
Dec 24, 2024
Cumulative downloads
Total Downloads
14
1
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.
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.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-cpp
bindings for Linux, Mac and Windows@serialport/bindings-interface
a typescript interface to use if you're making your own bindings@serialport/binding-mock
for a mock binding package for testingInterfaces take a binding object and provide a different API on top of it. Currently we only ship a Node Stream Interface.
@serialport/stream
our traditional Node.js Stream interfaceParsers 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.
git clone git@github.com:serialport/node-serialport.git
npm install
to setup local package dependencies (run this any time you depend on a package local to this repo)npm test
to ensure everything is working properlyYou can develop the docs with in the website repo.
Docs are automatically built with vercel including previews on branches. The main branch is deployed to https://serialport.io
SerialPort packages are all MIT licensed and all it's dependencies are MIT licensed.
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.
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.
If you have a PR that improves the project people in any or all of the above people will help you land it.
No vulnerabilities found.
Reason
security policy file detected
Details
Reason
30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
GitHub workflow tokens follow principle of least privilege
Details
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 7
Details
Reason
7 existing vulnerabilities detected
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-06-23
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn MoreLast Day
-12.6%
6,546
Compared to previous day
Last Week
-16.8%
89,407
Compared to previous week
Last Month
1.5%
378,943
Compared to previous month
Last Year
42.7%
4,131,629
Compared to previous year