Copy the badge code for the latest version:
[](https://licenses.dev/npm/serialport%3E4.0.1%3Enode-pre-gyp%3Enpmlog%3Econsole-control-strings)<a href="https://licenses.dev/npm/serialport%3E4.0.1%3Enode-pre-gyp%3Enpmlog%3Econsole-control-strings">
<img src="https://licenses.dev/b/npm/serialport%3E4.0.1%3Enode-pre-gyp%3Enpmlog%3Econsole-control-strings" alt="licenses" />
</a>Or the badge code for the 1.1.0 version:
[](https://licenses.dev/npm/serialport%3E4.0.1%3Enode-pre-gyp%3Enpmlog%3Econsole-control-strings/1.1.0)<a href="https://licenses.dev/npm/serialport%3E4.0.1%3Enode-pre-gyp%3Enpmlog%3Econsole-control-strings/1.1.0">
<img src="https://licenses.dev/b/npm/serialport%3E4.0.1%3Enode-pre-gyp%3Enpmlog%3Econsole-control-strings/1.1.0" alt="licenses" />
</a>