
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Official Phidget22 JavaScript library.
This library includes both Node.js and browser support.
Phidgets are accessed over the network via the Phidget Network Server.
Newer Phidgets can also be opened directly over USB, allowing for no-install access within the Browser or Node.js.
A smaller network only library is also available: phidget22-net
Start by reading the Phidgets JavaScript Language Page.
USB Access in Node.js requires installation of the optional usb dependency.
USB Access in the Browser requires a browser that supports WebUSB.
Supported USB Phidgets will list USB Stack as 'PHIDUSB' in the Specifications table on their product page at www.phidgets.com. All VINT Phidgets are supported when attached to a supported USB VINT Hub.
npm install phidget22
ES6 module import:
import * as phidget22 from 'phidget22';
CommonJS import:
const phidget22 = require('phidget22');
Download the latest release here.
The release contains full, net, and usb versions of the library, in both UMD and ES module format.
UMD import:
<script src="phidget22.min.js"></script>
ES6 module import:
<script type="module">
import * as phidget22 from './phidget22.esm.js';
</script>
You can also load the library directly from UNPKG:
<script src="https://unpkg.com/phidget22@3.x/browser/phidget22.min.js"></script>
App bundlers such as Webpack are supported with browser-specific files in the npm.
FAQs
Phidget22 JavaScript Library
We found that phidget22 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.