You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't have anything in mind. I figured you would have more opinions about it than me. Since we don't have to match the existing atob and btoa API it seems like there's a good bit more flexibility. Maybe call them encodeBase64Url and decodeBase64Url or something?
What do you think about adding support for the base64url encoding to this package? The only difference between base64url and base64 is the encoding of the 62nd and 63rd alphabet characters (https://tools.ietf.org/html/rfc4648#page-7). It seems a shame to do a whole separate pass over the string just to make this small change (as is done here https://github.com/joaquimserafim/base64-url/blob/master/index.js#L10).
The text was updated successfully, but these errors were encountered: