# @ducanh2912/next-pwa

> PWA for Next.js, powered by Workbox.

Latest version **10.2.9** (published 2024-09-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install @ducanh2912/next-pwa
pnpm add @ducanh2912/next-pwa
yarn add @ducanh2912/next-pwa
bun add @ducanh2912/next-pwa
```

## Health

**Score 35/100 (D)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; has provenance; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 10.2.9 |
| Published | 2024-09-18 |
| First published | 2022-11-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 6 |
| Unpacked size | 103.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 683 |
| Author | ShadowWalker |
| Maintainers | ducanh2912 |
| Keywords | nextjs, pwa, workbox, web, service-worker |

## Links

- npm: https://www.npmjs.com/package/@ducanh2912/next-pwa
- Repository: https://github.com/DuCanhGH/next-pwa
- Homepage: https://ducanh-next-pwa.vercel.app
- Issues: https://github.com/DuCanhGH/next-pwa/issues
- npm.io page: https://npm.io/package/@ducanh2912/next-pwa

## Dependencies (6)

- [semver](https://npm.io/package/semver.md) 7.6.3
- [fast-glob](https://npm.io/package/fast-glob.md) 3.3.2
- [workbox-core](https://npm.io/package/workbox-core.md) 7.1.0
- [workbox-build](https://npm.io/package/workbox-build.md) 7.1.1
- [workbox-window](https://npm.io/package/workbox-window.md) 7.1.0
- [workbox-webpack-plugin](https://npm.io/package/workbox-webpack-plugin.md) 7.1.0

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 10.2.9 (latest) — 2024-09-18
- 10.2.8 — 2024-07-16
- 10.2.7 — 2024-05-05
- 10.2.6 — 2024-04-04
- 10.2.5 — 2024-02-03
- 10.2.4 — 2024-01-31
- 10.2.3 — 2024-01-29
- 10.2.2 — 2024-01-12
- 10.2.1 — 2024-01-11
- 10.2.0 — 2024-01-11
- 10.1.0 — 2024-01-04
- 10.0.2 — 2023-12-27
- 10.0.1 — 2023-12-27
- 10.0.0 — 2023-12-10
- 9.7.2 — 2023-10-17
- … 55 more at https://npm.io/package/@ducanh2912/next-pwa/versions

## README

# [PWA](https://web.dev/learn/pwa/) for [Next.js](https://nextjs.org/), powered by [Workbox](https://developer.chrome.com/docs/workbox).

This plugin is powered by [Workbox](https://developer.chrome.com/docs/workbox/) and other good stuff.

[![Build Size](https://img.shields.io/bundlephobia/minzip/@ducanh2912/next-pwa?label=Bundle%20size&style=flat&color=success)](https://bundlephobia.com/result?p=@ducanh2912/next-pwa)
[![Version](https://img.shields.io/npm/v/@ducanh2912/next-pwa?style=flat&color=success)](https://www.npmjs.com/package/@ducanh2912/next-pwa)

**NOTE:** If there's no specific reason to continue using `@ducanh2912/next-pwa`, consider migrating to [`@serwist/next`](https://serwist.pages.dev/docs/next), a part of [Serwist](https://serwist.pages.dev) (a Workbox fork).

---

## Getting Started

Visit https://ducanh-next-pwa.vercel.app/docs/next-pwa/getting-started to get started with `next-pwa`.

## Documentation

Visit https://ducanh-next-pwa.vercel.app/docs/next-pwa to see the documentation.

## Community

You can ask questions and suggest features. Please follow our [Code of Conduct](/CODE_OF_CONDUCT.md) when you communicate with other people.

## Contributing

Please see [our contributing guide](/CONTRIBUTING.md).

## Reference

1. [Google Workbox](https://developer.chrome.com/docs/workbox/what-is-workbox/)
2. [ServiceWorker, MessageChannel, & postMessage](https://ponyfoo.com/articles/serviceworker-messagechannel-postmessage) by [Nicolás Bevacqua](https://ponyfoo.com/contributors/ponyfoo)
3. [The service worker lifecycle](https://developers.google.com/web/fundamentals/primers/service-workers/lifecycle)
4. [6 Tips to make your iOS PWA feel like a native app](https://www.netguru.com/codestories/pwa-ios)
5. [Make your PWA available on Google Play Store](https://www.netguru.com/codestories/make-your-pwa-available-on-google-play-store)

---
_Source: https://npm.io/package/@ducanh2912/next-pwa · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
