
Security News
The Code You Didn't Write Is Still Yours to Defend
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.
@robinpath/buffer
Advanced tools
Buffer and encoding utilities: base64, base64url, hex, byte operations
The buffer module lets you:
All functions are callable directly from RobinPath scripts with a simple, consistent API.
robinpath add @robinpath/buffer
No credentials needed — start using it right away:
buffer.toString "aGVsbG8="
| Function | Description |
|---|---|
buffer.fromString | Create a base64 buffer from a string |
buffer.toString | Convert a base64 buffer to string |
buffer.fromHex | Create base64 from hex string |
buffer.toHex | Convert base64 to hex string |
buffer.toBase64 | Encode string to base64 |
buffer.fromBase64 | Decode base64 to string |
buffer.toBase64Url | Encode string to URL-safe base64 |
buffer.fromBase64Url | Decode URL-safe base64 to string |
buffer.byteLength | Get the byte length of a string |
buffer.concat | Concatenate multiple base64 buffers |
buffer.compare | Compare two base64 buffers |
buffer.isBase64 | Check if a string is valid base64 |
buffer.toString "aGVsbG8="
buffer.fromHex "48656c6c6f"
buffer.toHex "aGVsbG8="
import { RobinPath } from "@wiredwp/robinpath";
import Module from "@robinpath/buffer";
const rp = new RobinPath();
rp.registerModule(Module.name, Module.functions);
rp.registerModuleMeta(Module.name, Module.functionMetadata);
const result = await rp.executeScript(`
buffer.toString "aGVsbG8="
`);
See MODULE.md for complete documentation including all parameters, return types, error handling, and advanced examples.
@robinpath/json — JSON module for complementary functionalityMIT
FAQs
Buffer and encoding utilities: base64, base64url, hex, byte operations
We found that @robinpath/buffer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.