Skip to content
This repository was archived by the owner on Oct 4, 2024. It is now read-only.

Conversation

@maxdewald
Copy link

This new method doesn't rely on buffer anymore, which is NodeJS exclusive. Now this code can also run on the client side.

This new method doesn't rely on buffer anymore, which is NodeJS exclusive. Now this code can also run on the clientside.
@maxdewald maxdewald changed the title Update base64 encoding Update base64 encoding | Browser Support Jun 20, 2022
@purerosefallen
Copy link

Agreeing on that.
In addition, could we make it cjs/esm double support? to make something like Vite or Webpack support better.

https://github.com/shigma/cosmokit/blob/master/package.json#L26
Take a look of there project's best practice.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants