JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2832
  • Score
    100M100P100Q134944F

Package Exports

  • esptool-js
  • esptool-js/lib/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (esptool-js) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Javascript implementation of esptool

This repository contains a Javascript implementation of esptool, a serial flasher utility for Espressif chips. Unlike the Python-based esptool, esptool-js doesn't implement generation of binary images out of ELF files, and doesn't include companion tools similar to espefuse.py and espsecure.py.

esptool-js is based on Web Serial API and works in Google Chrome and Microsoft Edge, version 89 or later.

Live demo

Visit https://espressif.github.io/esptool-js/ to see this tool in action.

Testing it locally

npm install
npm run rollup
python3 -m http.server 8008

Then open http://localhost:8008 in Chrome or Edge. The npm run rollup step builds the bundle.js used in the example index.html.

License

The code in this repository is Copyright (c) 2021 Espressif Systems (Shanghai) Co. Ltd. It is licensed under Apache 2.0 license, as described in LICENSE file.