b5235ed4f0
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Aaron <aaronklinker1@gmail.com>
@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-background
Usage
import { isBackground } from '@wxt-dev/is-background';
isBackground(); // true | false