Skip to content

Browser not a supported target? #8

@vlovich

Description

@vlovich

Is the browser environment not a supported target? Buffer is a NodeJS only concept. In browser land, the Buffer.from in most spots would be new TextEncoder. Base64 decode of binary data would be handled by something like base64-js. Maybe detect-node could be to conditionally import the dependencies appropriately and to select which Base64 decoding to use?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions