MCPcopy Create free account
hub / github.com/pollinations/pollinations / b64urlFromString

Function b64urlFromString

shared/github/app-auth.ts:47–49  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

45}
46
47function b64urlFromString(str: string): string {
48 return b64urlFromBytes(new TextEncoder().encode(str));
49}
50
51function bytesFromB64(b64: string): Uint8Array {
52 const bin = atob(b64);

Callers 1

mintAppJwtFunction · 0.85

Calls 1

b64urlFromBytesFunction · 0.85

Tested by

no test coverage detected