JSPM

@plasmohq/persistent

0.0.5
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 121
  • Score
    100M100P100Q84888F
  • License MIT

A couple of hacks to keep the BGSW alive in a library

Package Exports

  • @plasmohq/persistent
  • @plasmohq/persistent/background

Readme

Plasmo Persistent runtime

This library contains a couple of hacks to keep the BGSW alive for MV3 transitioning.

Usage in a background service worker:

import { keepAlive } from "@plasmohq/persistent/background"

keepAlive()