38530cdb39
Co-authored-by: Smit <sm17p@users.noreply.github.com>
279 B
279 B
@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