@wxt-dev/is-background
v1.0.0
Published
Check if the current context is the background or not.
Maintainers
Readme
@wxt-dev/is-background
Exports a getter to determine if the current JS context is the background or not.
Installation
pnpm add @wxt-dev/is-backgroundUsage
import { isBackground } from '@wxt-dev/is-background';
isBackground(); // true | false