brianloveswords / base64url

For encoding and decoding base64url!
MIT License
224 stars 44 forks source link

Deprecate package #59

Open GustavoOS opened 4 months ago

GustavoOS commented 4 months ago

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?

benjick commented 2 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 👍

glebbash commented 2 months ago

Not sure what's the problem with utf8 you encountered @benjick but this worked fine for me: Buffer.from(...).toString("base64url")