
Security News
npm Tooling Bug Incorrectly Marks One-Character Packages as Security Holders
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.
node-bmp180
Advanced tools
A module to interface with BMP180/BMP085 temperature and pressure sensor from Node.js.
Read temperature and pressure from BMP180 or BMP085 sensors using Node.js.
$ npm install node-bmp180
$ yarn add node-bmp180
With no units specified this library returns temperature in Celsius and pressure in Pascal.
const BMP180 = require('node-bmp180');
const sensor = new BMP180.BMP180({
address: 0x77,
mode: BMP180.Mode.UltraHighResolution
});
(async () => {
const { pressure, temp } = await sensor.read();
console.log(`Pressure: ${pressure} Pa`);
console.log(`Temperature: ${temp} C`);
})();
const BMP180 = require('node-bmp180');
const sensor = new BMP180.BMP180({
address: 0x77,
mode: BMP180.Mode.UltraHighResolution,
units: {
temperature: BMP180.TemperatureUnit.Fahrenheit,
pressure: BMP180.PressureUnit.InchesOfMercury
}
});
(async () => {
const { pressure, temp } = await sensor.read();
console.log(`Pressure: ${pressure} inHg`);
console.log(`Temperature: ${temp} F`);
})();
FAQs
A module to interface with BMP180/BMP085 temperature and pressure sensor from Node.js.
The npm package node-bmp180 receives a total of 9 weekly downloads. As such, node-bmp180 popularity was classified as not popular.
We found that node-bmp180 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.

Security News
npm confirmed a tooling bug incorrectly marked several one-character packages as security holders and said it was working on a rollback.

Research
/Security News
Newer packages in this compromise use native extensions and .pth loaders to execute JavaScript stealers in developer environments.

Research
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.