Skip to content

feat: support base64url encoding#11

Closed
intergalacticspacehighway wants to merge 5 commits intocraftzdog:masterfrom
intergalacticspacehighway:base64Url
Closed

feat: support base64url encoding#11
intergalacticspacehighway wants to merge 5 commits intocraftzdog:masterfrom
intergalacticspacehighway:base64Url

Conversation

@intergalacticspacehighway

This PR adds support for base64url encoding. base64url is a URL friendly version of base64. It is just a base64 string where + is replaced by -, / is replaced by _ and padding = is removed.

@craftzdog
Copy link
Owner

Memo: it's compatible with Nodejs API (>= v14.18.0)

@intergalacticspacehighway
Copy link
Author

intergalacticspacehighway commented May 26, 2025

@craftzdog yeah, NodeJS added it natively in >=14.18.0. Is there something missing here? I checked the spec and added this testcase

@craftzdog
Copy link
Owner

Can you format code with standard --fix?

@craftzdog craftzdog deleted the branch craftzdog:master May 27, 2025 06:03
@craftzdog craftzdog closed this May 27, 2025
@craftzdog
Copy link
Owner

oh no, I mistakingly closed this PR when renaming the master branch to main.

@craftzdog
Copy link
Owner

Recreated #13

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants