Isomorphic web apis utilities for fetch, event target, signals, crypto and doh.
pnpm install iso-web
iso-web/msw needs msw 3, an optional peer dependency:
pnpm install -D msw@3
In browsers the worker script must match the installed msw. Generate it again and deploy it every time msw is upgraded, with a worker from msw 2 stop() never resolves and the next start() hangs:
pnpm exec msw init <PUBLIC_DIR>
MIT © Hugo Dias