š Keep your background scripts running reliably in MV3 extensions.
npm install bg-alive[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![bundle][bundle-src]][bundle-href]
[![JSDocs][jsdocs-src]][jsdocs-href]
[![License][license-src]][license-href]
š Keep your background scripts running reliably in MV3 extensions.
easy to use
``ts``
import { bgAlive } from 'bg-alive'
bgAlive.start()
// or custom interval time
bgAlive.start(1000)
// ....
bgAlive.stop()
MIT License Ā© 2023-PRESENT leizhenpeng
[npm-version-src]: https://img.shields.io/npm/v/bg-alive?style=flat&colorA=080f12&colorB=1fa669
[npm-version-href]: https://npmjs.com/package/bg-alive
[npm-downloads-src]: https://img.shields.io/npm/dm/bg-alive?style=flat&colorA=080f12&colorB=1fa669
[npm-downloads-href]: https://npmjs.com/package/bg-alive
[bundle-src]: https://img.shields.io/bundlephobia/minzip/bg-alive?style=flat&colorA=080f12&colorB=1fa669&label=minzip
[bundle-href]: https://bundlephobia.com/result?p=bg-alive
[license-src]: https://img.shields.io/github/license/leizhenpeng/bg-alive.svg?style=flat&colorA=080f12&colorB=1fa669
[license-href]: https://github.com/leizhenpeng/bg-alive/blob/main/LICENSE
[jsdocs-src]: https://img.shields.io/badge/jsdocs-reference-080f12?style=flat&colorA=080f12&colorB=1fa669
[jsdocs-href]: https://www.jsdocs.io/package/bg-alive