We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
latest node and unenv
Buffer.from('hello').toString('base64url')
base64url is not implemented
base64url is just base64.replaceAll("+", "-").replaceAll("/", "_").replace("==", "")
there's feross/buffer#314 but the author is not proving it
The text was updated successfully, but these errors were encountered:
you can also use deno's browser-compatible polyfills for node.js builtins: https://deno.land/[email protected]/node/internal/buffer.mjs?source
Sorry, something went wrong.
Do you mind to drop a PR?
Deno implementation is good, you can use this also I converted it to b64url only + small changes.
implement base64url in buffer by switching to js-base64
c1c2565
fixes unjs#462
Successfully merging a pull request may close this issue.
Environment
latest node and unenv
Reproduction
Buffer.from('hello').toString('base64url')
Describe the bug
base64url is not implemented
Additional context
base64url is just base64.replaceAll("+", "-").replaceAll("/", "_").replace("==", "")
there's feross/buffer#314 but the author is not proving it
Logs
The text was updated successfully, but these errors were encountered: