Closed WasabiThumb closed 9 months ago
Thank you, but I think for this specific case, creating a separate compatibility package that imports this implementation and exports base64-js-like functions would be better (and you can host it and swap implementations as needed). It would be confusing to add aliases to this package.
This expands the exports of
@stablelib/base64
to provide identical functionality to thebase64-js
package. This would allow developers to produce smaller bundles by using only 1 base64 impl whenbase64-js
would otherwise be required by other packages, notablybuffer
.