Open GustavoOS opened 6 months ago
I used the Buffer API, which wasn't URL-safe + didn't handle UTF-8 well so I went with this package. This package seems to work really well 👍
Not sure what's the problem with utf8 you encountered @benjick but this worked fine for me: Buffer.from(...).toString("base64url")
I wonder, how's this library different from encodeURIComponent function provided by node itself? Why should one use this library over using in build methods such as encodeURIComponent?
I see this package is about encoding and decoding base 64. Node itself has this functionality using the Buffer API.
Shouldn't this package be marked as deprecated, as the last publish is now 6 years old?