Skip to content
Back to skills

Orpc Base64url

ASecurity

Functions to encode and decode base64url strings (URL-safe variant of base64).

  • 8 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 12, 2026
developmentgitapi

Works with

  • api

Security analysis

A100/100

Scanned September 12, 2026

npx -y skills add ali-master/skills --skill orpc-base64url --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Orpc Base64url?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Orpc Base64url
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ali-master-orpc-base64url/badge)](https://www.skillsdirectory.com/skills/ali-master-orpc-base64url)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: oRPC Base64Url Helpers
description: Functions to encode and decode base64url strings (URL-safe variant of base64).
license: MIT
metadata:
  author: Ali Torki
  homepage: https://github.com/ali-master
  version: "1.0.0"
---

# Base64Url Helpers

Base64Url helpers provide functions to encode and decode base64url strings, a URL-safe variant of base64 encoding used in web tokens, data serialization, and APIs.

```ts
import { decodeBase64url, encodeBase64url } from '@orpc/server/helpers'

const originalText = 'Hello World'
const textBytes = new TextEncoder().encode(originalText)
const encodedData = encodeBase64url(textBytes)
const decodedBytes = decodeBase64url(encodedData)
const decodedText = new TextDecoder().decode(decodedBytes) // 'Hello World'
```

> `decodeBase64url` accepts `undefined` or `null` and returns `undefined` for invalid inputs.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.