MCPcopy Create free account
hub / github.com/Bistutu/FluentRead / base64UrlSafe

Function base64UrlSafe

userscripts.js:1461–1463  ·  view source on GitHub ↗
(base64String)

Source from the content-addressed store, hash-verified

1459
1460// 将Base64字符串转换为Base64URL格式的函数
1461function base64UrlSafe(base64String) {
1462 return base64String.replace(/\+/g, '-').replace(/\//g, '_').replace(/=+$/, '');
1463}
1464
1465// endregion
1466

Callers 1

generateJWTFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected