★ A PWA.live pick: where we would start.
A modern fork of Workbox, started because Workbox development had slowed. One serwist package with ES modules and TypeScript, plus maintained integrations for Next.js, Vite, SvelteKit and webpack.
When to use it
You are starting a new project with Next.js, or want Workbox-style features with a more actively developed codebase.
Get started
npm i -D serwist @serwist/next
import { Serwist } from 'serwist';
const serwist = new Serwist({ precacheEntries: self.__SW_MANIFEST, clientsClaim: true, navigationPreload: true });
serwist.addEventListeners();
Source code, issues and documentation: github.com/serwist/serwist.