# sht4x

> Reads humidity and temperature from the SHT40, SHT41, and SHT45 sensor via I2C.

Latest version **1.0.3** (published 2022-04-26) · BSD-2-Clause license · 0 weekly downloads

## Install

```sh
npm install sht4x
pnpm add sht4x
yarn add sht4x
bun add sht4x
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2022-04-26 |
| First published | 2022-04-26 |
| Weekly downloads | 0 |
| License | BSD-2-Clause |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 5.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | asdfjkalsdfla |
| Maintainers | richardowright |
| Keywords | SHT40, SHT41, SHT45, SHT4X, Temperature, Humidity, Sensor, Adafruit, Raspberry, Pi |

## Links

- npm: https://www.npmjs.com/package/sht4x
- Repository: https://github.com/asdfjkalsdfla/sht4x
- Homepage: https://github.com/asdfjkalsdfla/sht4x#readme
- Issues: https://github.com/asdfjkalsdfla/sht4x/issues
- npm.io page: https://npm.io/package/sht4x

## Dependencies (3)

- [crc](https://npm.io/package/crc.md) ^4.1.1
- [i2c-bus](https://npm.io/package/i2c-bus.md) ^5.2.2
- [polycrc](https://npm.io/package/polycrc.md) ^1.1.1

## 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.0.3 (latest) — 2022-04-26
- 1.0.2 — 2022-04-26
- 1.0.1 — 2022-04-26
- 1.0.0 — 2022-04-26

## README

# SHT4X Temperature Sensor

Reads humidity and temperature from the SHT40, SHT41, and SHT45 sensor via I2C.

## Installation
```
npm install sht4x
```

## Example
```js
const SHT4X = require('../SHT4X.js');

const main = async () => {
    const thermostat = await SHT4X.open();
    console.log(await thermostat.serialNumber());
    console.log(await thermostat.measurements());
}

main();
```

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