
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
adafruit-mpr121
Advanced tools
Access a MPR121 breakout using Node.js from a Raspberry Pi or BeagleBone Black.
This library requires Node.js v6.0.0 or higher.
$ npm install adafruit-mpr121
const MPR121 = require('adafruit-mpr121'),
mpr121 = new MPR121(0x5A, 1);
// listen for touch events
mpr121.on('touch', (pin) => console.log(`pin ${pin} touched`));
// listen for release events
mpr121.on('release', (pin) => console.log(`pin ${pin} released`));
// listen for changes to the state of a specific pin
mpr121.on(3, (state) => console.log(`pin 3 is ${state ? 'touched' : 'released'}`));
// check the current state of a specific pin synchronously
const state = mpr121.isTouched(2);
console.log(`pin 2 is ${state ? 'touched' : 'released'}`);
Copyright (c) 2016 Adafruit Industries. Licensed under the MIT license.
FAQs
Access the MPR121 breakout from Node.js
The npm package adafruit-mpr121 receives a total of 2 weekly downloads. As such, adafruit-mpr121 popularity was classified as not popular.
We found that adafruit-mpr121 demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.