{"library":"wesa","type":"library","category":null,"description":"Wesa is a CLI and library for performing storage schema migrations in browser extensions (Chrome/Firefox) packaged with webpack. The current stable version is 0.7.1, released sparsely. It helps manage storage revisions using a revision repository, similar to database migrations. Unlike generic migration tools, it targets browser.storage (local, session, sync) and integrates with webpack code splitting via dynamic imports. It requires Node.js >=24.0.0 and expects background scripts to call the migrate function with a context object.","language":"javascript","status":"active","version":"0.7.1","tags":["javascript","browser extensions","web extensions","storage","versioning","migration","revisions","schema"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install wesa","imports":["import { migrate } from 'wesa'","npx wesa init","import { migrate } from 'wesa'; await migrate(context, { area })"]},{"cmd":"yarn add wesa","imports":[]},{"cmd":"pnpm add wesa","imports":[]}],"homepage":"https://github.com/dessant/wesa","github":"https://github.com/dessant/wesa","docs":null,"changelog":null,"pypi":null,"npm":"wesa","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}