wxt
Other Packages
Appearance
@wxt-dev/is-background
Exports a getter to determine if the current JS context is the background or not.
pnpm add @wxt-dev/is-background
import { isBackground } from '@wxt-dev/is-background'; isBackground(); // true | false