serialport 4.0.2
Node.js package to access serial ports. Welcome your robotic javascript overlords. Better yet, program them!
serialport@4.0.2 was published on 2016-10-05. Its manifest declares 7 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. The declared Node.js requirement is >= 0.10.0.
Deprecated: This version is no longer supported, to receive security updates and bug fixes upgrade to the latest version.
All serialport versions · Permanent reference to 4.0.2 · View npm registry JSON · Latest release
Package specifications
| Version | 4.0.2 |
|---|---|
| License declaration | MIT |
| Published | 2016-10-05T17:10:45.196Z |
| Node.js requirement | >= 0.10.0 |
| Type declarations | Not declared |
| Runtime dependency count | 7 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | Not supplied |
| Published file count | Not supplied |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | ./lib/serialport |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 175 |
| Repository stars | 5993 |
| Repository forks | 1008 |
Install serialport 4.0.2
npm install serialport@4.0.2 pnpm add serialport@4.0.2 yarn add serialport@4.0.2
Runtime dependencies
- nan ^2.3.5
- debug ^2.1.1
- bindings 1.2.1
- commander ^2.9.0
- es6-promise ^3.2.1
- node-pre-gyp ^0.6.26
- object.assign ^4.0.3
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- async-function@1.0.0 — indirect
- async-generator-function@1.0.0 — indirect
- bindings@1.2.1 — direct
- call-bind@1.0.9 — indirect
- call-bind-apply-helpers@1.0.2 — indirect
- call-bound@1.0.4 — indirect
- commander@2.20.3 — direct
- debug@2.2.0 — indirect
- debug@2.6.9 — direct
- define-data-property@1.1.4 — indirect
- define-properties@1.2.1 — indirect
- dunder-proto@1.0.1 — indirect
- es-define-property@1.0.1 — indirect
- es-errors@1.3.0 — indirect
- es-object-atoms@1.1.2 — indirect
- es6-promise@3.3.1 — direct
- function-bind@1.1.2 — indirect
- generator-function@2.0.1 — indirect
- get-intrinsic@1.3.1 — indirect
- get-proto@1.0.1 — indirect
- gopd@1.2.0 — indirect
- has-property-descriptors@1.0.2 — indirect
- has-symbols@1.1.0 — indirect
- hasown@2.0.4 — indirect
- math-intrinsics@1.1.0 — indirect
- ms@0.7.1 — indirect
- ms@2.0.0 — indirect
- nan@2.30.0 — direct
- object-keys@1.1.1 — indirect
- object.assign@4.1.7 — direct
- node-pre-gyp@0.6.30 bundled — direct
- mkdirp@0.5.1 bundled — indirect
- minimist@0.0.8 bundled — indirect
- nopt@3.0.6 bundled — indirect
- abbrev@1.0.9 bundled — indirect
- npmlog@4.0.0 bundled — indirect
- are-we-there-yet@1.1.2 bundled — indirect
- delegates@1.0.0 bundled — indirect
- readable-stream@2.1.5 bundled — indirect
- buffer-shims@1.0.0 bundled — indirect
- core-util-is@1.0.2 bundled — indirect
- inherits@2.0.3 bundled — indirect
- isarray@1.0.0 bundled — indirect
- process-nextick-args@1.0.7 bundled — indirect
- string_decoder@0.10.31 bundled — indirect
- util-deprecate@1.0.2 bundled — indirect
- console-control-strings@1.1.0 bundled — indirect
- gauge@2.6.0 bundled — indirect
- aproba@1.0.4 bundled — indirect
- has-color@0.1.7 bundled — indirect
- has-unicode@2.0.1 bundled — indirect
- object-assign@4.1.0 bundled — indirect
- signal-exit@3.0.1 bundled — indirect
- string-width@1.0.2 bundled — indirect
- code-point-at@1.0.1 bundled — indirect
- number-is-nan@1.0.1 bundled — indirect
- is-fullwidth-code-point@1.0.0 bundled — indirect
- number-is-nan@1.0.1 bundled — indirect
- strip-ansi@3.0.1 bundled — indirect
- ansi-regex@2.0.0 bundled — indirect
- wide-align@1.1.0 bundled — indirect
- set-blocking@2.0.0 bundled — indirect
- rc@1.1.6 bundled — indirect
- deep-extend@0.4.1 bundled — indirect
- ini@1.3.4 bundled — indirect
- minimist@1.2.0 bundled — indirect
- strip-json-comments@1.0.4 bundled — indirect
- request@2.75.0 bundled — indirect
- aws-sign2@0.6.0 bundled — indirect
- aws4@1.4.1 bundled — indirect
- bl@1.1.2 bundled — indirect
- readable-stream@2.0.6 bundled — indirect
- core-util-is@1.0.2 bundled — indirect
- inherits@2.0.3 bundled — indirect
- isarray@1.0.0 bundled — indirect
- process-nextick-args@1.0.7 bundled — indirect
- string_decoder@0.10.31 bundled — indirect
- util-deprecate@1.0.2 bundled — indirect
- caseless@0.11.0 bundled — indirect
- combined-stream@1.0.5 bundled — indirect
- delayed-stream@1.0.0 bundled — indirect
- extend@3.0.0 bundled — indirect
- forever-agent@0.6.1 bundled — indirect
- form-data@2.0.0 bundled — indirect
- asynckit@0.4.0 bundled — indirect
- har-validator@2.0.6 bundled — indirect
- chalk@1.1.3 bundled — indirect
- ansi-styles@2.2.1 bundled — indirect
- escape-string-regexp@1.0.5 bundled — indirect
- has-ansi@2.0.0 bundled — indirect
- ansi-regex@2.0.0 bundled — indirect
- strip-ansi@3.0.1 bundled — indirect
- ansi-regex@2.0.0 bundled — indirect
- supports-color@2.0.0 bundled — indirect
- is-my-json-valid@2.15.0 bundled — indirect
- generate-function@2.0.0 bundled — indirect
- generate-object-property@1.2.0 bundled — indirect
- is-property@1.0.2 bundled — indirect
- jsonpointer@4.0.0 bundled — indirect
- xtend@4.0.1 bundled — indirect
- pinkie-promise@2.0.1 bundled — indirect
- pinkie@2.0.4 bundled — indirect
- hawk@3.1.3 bundled — indirect
- boom@2.10.1 bundled — indirect
- cryptiles@2.0.5 bundled — indirect
- hoek@2.16.3 bundled — indirect
- sntp@1.0.9 bundled — indirect
- http-signature@1.1.1 bundled — indirect
- assert-plus@0.2.0 bundled — indirect
- jsprim@1.3.1 bundled — indirect
- extsprintf@1.0.2 bundled — indirect
- json-schema@0.2.3 bundled — indirect
- verror@1.3.6 bundled — indirect
- sshpk@1.10.1 bundled — indirect
- asn1@0.2.3 bundled — indirect
- assert-plus@1.0.0 bundled — indirect
- bcrypt-pbkdf@1.0.0 bundled — indirect
- dashdash@1.14.0 bundled — indirect
- ecc-jsbn@0.1.1 bundled — indirect
- getpass@0.1.6 bundled — indirect
- jodid25519@1.0.2 bundled — indirect
- jsbn@0.1.0 bundled — indirect
- tweetnacl@0.14.3 bundled — indirect
- is-typedarray@1.0.0 bundled — indirect
- isstream@0.1.2 bundled — indirect
- json-stringify-safe@5.0.1 bundled — indirect
- mime-types@2.1.12 bundled — indirect
- mime-db@1.24.0 bundled — indirect
- node-uuid@1.4.7 bundled — indirect
- oauth-sign@0.8.2 bundled — indirect
- qs@6.2.1 bundled — indirect
- stringstream@0.0.5 bundled — indirect
- tough-cookie@2.3.1 bundled — indirect
- tunnel-agent@0.4.3 bundled — indirect
- rimraf@2.5.4 bundled — indirect
- glob@7.1.0 bundled — indirect
- fs.realpath@1.0.0 bundled — indirect
- inflight@1.0.5 bundled — indirect
- wrappy@1.0.2 bundled — indirect
- inherits@2.0.3 bundled — indirect
- minimatch@3.0.3 bundled — indirect
- brace-expansion@1.1.6 bundled — indirect
- balanced-match@0.4.2 bundled — indirect
- concat-map@0.0.1 bundled — indirect
- once@1.4.0 bundled — indirect
- wrappy@1.0.2 bundled — indirect
- path-is-absolute@1.0.1 bundled — indirect
- semver@5.3.0 bundled — indirect
- tar@2.2.1 bundled — indirect
- tar-pack@3.1.4 bundled — indirect
- fstream@1.0.10 bundled — indirect
- fstream-ignore@1.0.5 bundled — indirect
- inherits@2.0.3 bundled — indirect
- minimatch@3.0.3 bundled — indirect
- brace-expansion@1.1.6 bundled — indirect
- balanced-match@0.4.2 bundled — indirect
- concat-map@0.0.1 bundled — indirect
- graceful-fs@4.1.9 bundled — indirect
- inherits@2.0.3 bundled — indirect
- once@1.3.3 bundled — indirect
- wrappy@1.0.2 bundled — indirect
- readable-stream@2.1.5 bundled — indirect
- buffer-shims@1.0.0 bundled — indirect
- core-util-is@1.0.2 bundled — indirect
- inherits@2.0.3 bundled — indirect
- isarray@1.0.0 bundled — indirect
- process-nextick-args@1.0.7 bundled — indirect
- string_decoder@0.10.31 bundled — indirect
- util-deprecate@1.0.2 bundled — indirect
- uid-number@0.0.6 bundled — indirect
- block-stream@0.0.9 bundled — indirect
- fstream@1.0.10 bundled — indirect
- graceful-fs@4.1.9 bundled — indirect
- inherits@2.0.3 bundled — indirect
- set-function-length@1.2.2 — indirect
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
|---|---|
| Code-Review | 1/10 — Found 5/30 approved changesets -- score normalized to 1 |
| Security-Policy | 9/10 — security policy file detected |
| Maintained | 0/10 — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0 |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Token-Permissions | 10/10 — GitHub workflow tokens follow principle of least privilege |
| Pinned-Dependencies | 7/10 — dependency not pinned by hash detected -- score normalized to 7 |
| License | 10/10 — license file detected |
| Fuzzing | 0/10 — project is not fuzzed |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- Readable npm registry JSON — retrieved 2026-11-03T08:42:56.785Z
- https://api.deps.dev/v3/systems/npm/packages/serialport/versions/4.0.2 — retrieved 2026-11-03T08:42:56.873Z
- https://api.deps.dev/v3/systems/npm/packages/serialport/versions/4.0.2:dependencies — retrieved 2026-11-03T08:42:56.909Z
- https://api.deps.dev/v3/projects/github.com%2Fserialport%2Fnode-serialport — retrieved 2026-11-03T04:50:46.737Z