A toolkit for browser extension developing.
See API documents
See tutorial of DOM watcher
Use yarn
or npm
. Or use UMD.
If you're using module bundler, use @holoflows/kit
to import;
using umd, use window.HoloflowsKit
.
You need to load a polyfill for WebExtension in Chrome webextension-polyfill.
Since this package depends on Proxy, it is useless to support ES5.
@holoflows/kit
export as umd(/umd/index.js) and ESModule(/es/).UMD compiles to ES6,ESModule compiles to ES2018.
Full Typescript support.