esp-partition-utils
v0.1.0
Published
ESP-IDF partition table encoder/decoder for Node.js and browsers
Readme
esp-partition-utils-js
ESP-IDF partition table parser and encoder written in TypeScript.
Installation
npm i esp-partition-utilsAPI
import {
decodePartitionTable,
encodePartitionTable,
fromCSV,
toCSV,
type Partition,
type EncodePartitionTableOptions,
} from "esp-partition-utils";CLI
# CSV -> BIN
npx esp-partition-table partitions.csv out.bin
# BIN -> CSV
npx esp-partition-table out.bin out.csvDevelopment
npm install
npm test
npm run lint
npm run buildLicense
Apache-2.0, see ./LICENSE. This project includes the original Python partition table parser/generator pulled from esp-idf under ./python_original, which is used during unit-tests. It is licensed under the same license.
