{"library":"workbox-cli","type":"library","category":null,"description":"workbox-cli is the command-line interface for the Workbox library, a set of JavaScript modules for adding offline support to web applications. It streamlines the process of generating service workers and precaching assets, simplifying the integration of Workbox into projects without requiring complex custom build scripts. The current stable version is 7.4.0. Workbox CLI's release cadence generally aligns with the broader Workbox project, seeing frequent patch updates for dependency maintenance and security, with major versions introducing significant changes like Node.js version bumps. Its key differentiator is providing a user-friendly entry point for common Workbox use cases through a series of interactive wizards and declarative configuration files, abstracting away the underlying `workbox-build` module for a smoother developer experience.","language":"javascript","status":"active","version":"7.4.0","tags":["javascript","workbox","workboxjs","service worker","caching","fetch requests","offline","cli"],"last_verified":"Wed May 27","install":[{"cmd":"npm install workbox-cli","imports":["npx workbox-cli <command> [options]","npx workbox-cli generateSW ./workbox-config.js","npx workbox-cli injectManifest ./workbox-config.js","npx workbox-cli wizard"]},{"cmd":"yarn add workbox-cli","imports":[]},{"cmd":"pnpm add workbox-cli","imports":[]}],"homepage":"https://developer.chrome.com/docs/workbox","github":"https://github.com/googlechrome/workbox","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/workbox-cli","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/workbox-cli/compatibility"}}