ashA
Denoβ€’3y agoβ€’
9 replies
ash

Problem with parsing `base64url` from a `Buffer (node)`

help , it works in bun but not in Deno, I don't know if is a bug from them or it's not implemented here,it also works in node:

import BufferProto from "node:buffer"

 BufferProto.Buffer.from(
    "IntcImhlbGxvXCI6XCJoZGQvZStpXCJ9Ig"
  ,
    "base64url"
 ).toString() 

//deno: ""
//bun: "{\"hello\":\"hdd/e+i\"}"
//node:"{\"hello\":\"hdd/e+i\"}"
Was this page helpful?