Skip to content

[Replacement]: is-electron #703

@gameroman

Description

@gameroman

Package to replace

is-electron

Suggested replacement(s)

function isElectron() {
    return Boolean(
        window?.process?.type === 'renderer' ||
        process?.versions?.electron ||
        navigator?.userAgent?.includes('Electron')
    );
}

Manifest type

micro-utility (tiny utility replaceable with native code or removal)

Rationale

simple util

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedUsed to signal if a suggested replacement has been accepted.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions