# node-web-i2c

> I2C access with Node.js

Latest version **1.1.92** (published 2026-11-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install node-web-i2c
pnpm add node-web-i2c
yarn add node-web-i2c
bun add node-web-i2c
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 1.1.92 |
| Published | 2026-11-01 |
| First published | 2019-10-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 20.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 3 |
| Author | Kohei Watanabe |
| Maintainers | kou029w, krunaru, sizuhiko, gurezo, saxallan, satakagi, dynamis, tadfmac |
| Keywords | hardware, i2c, iot, linux, pi, raspberry, raspberry pi, raspi, robot, robotics, robots, rpi, smbus |

## Links

- npm: https://www.npmjs.com/package/node-web-i2c
- Repository: https://github.com/chirimen-oh/node-web-i2c
- Homepage: https://github.com/chirimen-oh/node-web-i2c#readme
- Issues: https://github.com/chirimen-oh/node-web-i2c/issues
- npm.io page: https://npm.io/package/node-web-i2c

## Dependencies (1)

- [i2c-bus](https://npm.io/package/i2c-bus.md) ^5.2.3

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1.1.92 (latest) — 2026-11-01
- 1.1.91 — 2026-10-19
- 1.1.90 — 2026-09-21
- 1.1.89 — 2026-09-14
- 1.1.88 — 2026-09-03
- 1.1.87 — 2026-09-01
- 1.1.86 — 2026-08-31
- 1.1.85 — 2026-08-25
- 1.1.84 — 2026-08-25
- 1.1.83 — 2026-08-25
- 1.1.82 — 2026-08-24
- 1.1.81 — 2026-08-17
- 1.1.80 — 2026-08-03
- 1.1.79 — 2026-07-27
- 1.1.78 — 2026-07-13
- … 75 more at https://npm.io/package/node-web-i2c/versions

## README

# node-web-i2c

I2C access with Node.js

## Usage

```
$ npm i node-web-i2c
```

```js
import { requestI2CAccess } from "node-web-i2c";
import ADT7410 from "@chirimen/adt7410";

const i2cAccess = await requestI2CAccess();
const adt7410 = new ADT7410(i2cAccess.ports.get(1), 0x48);
await adt7410.init();
const temperature = await adt7410.read();
console.log(`Temperature: ${temperature} ℃`);
```

## Document

- [TSDoc](https://npmx.dev/package-docs/node-web-i2c)

## Reference

- [Web I2C API for W3C Draft](http://browserobo.github.io/WebI2C)

---
_Source: https://npm.io/package/node-web-i2c · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
