# stm32

> A NodeJS library for communicating with STM32 bootloader.

Latest version **1.0.1** (published 2017-09-07) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2017-09-07 |
| First published | 2017-09-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8 |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Hans Gremmen |
| Maintainers | hans-gremmen |

## Links

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

## Dependencies (1)

- [serialport](https://npm.io/package/serialport.md) ^5.0.0

## Recent versions

- 1.0.1 (latest) — 2017-09-07
- 1.0.0 — 2017-09-07

## README

# stm32

A NodeJS library for communicating with STM32 bootloader.

## How to install

npm install stm32

## How to use

```javascript
const STM32 = require("stm32")

async function test() {
  let bootloader = new STM32.Bootloader("/dev/ttyACM0")
  await bootloader.start()
  console.log({version:await bootloader.version()})
  console.log({chip:await bootloader.chip()})
  console.log({get:await bootloader.get()})
  console.log(await bootloader.read(0x08000000, 1024))
  await bootloader.go() // start firmware at 0x08000000
  await bootloader.close()
}
```

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