
Security News
Frontier AI Is Now Critical Infrastructure
The Fable shutdown shows how quickly model access can become a business continuity risk for AI-dependent engineering teams.
@left-curve/encoding
Advanced tools
Encoding and serialization utilities for the [Dango](https://dango.exchange) ecosystem.
Encoding and serialization utilities for the Dango ecosystem.
npm install @left-curve/encoding
import { encodeHex, decodeHex, encodeBase64, serialize } from "@left-curve/encoding";
const hex = encodeHex(new Uint8Array([0xde, 0xad]));
const bytes = decodeHex("0xdead");
const base64 = encodeBase64(new Uint8Array([1, 2, 3]));
const binary = serialize({ key: "value" });
encodeHex(bytes) / decodeHex(hex) - hex string encodingisHex(value) - check if string is valid hexhexToBigInt(hex) - convert hex to bigintencodeBase64(bytes) / decodeBase64(base64) - standard base64encodeBase64Url(bytes) / decodeBase64Url(base64) - URL-safe base64base64ToBase64Url(base64) / base64UrlToBase64(base64url) - conversionserialize(value) / deserialize(binary) - binary serialization with snake/camel case conversionserializeJson(value) / deserializeJson(json) - JSON with superjson supportsortedJsonStringify(value) - deterministic JSON stringificationsortedObject(obj) - recursively sort object keysencodeUtf8(string) / decodeUtf8(bytes) - UTF-8 encodingencodeEndian32(number) / decodeEndian32(bytes) - 32-bit big-endian encodingencodeUint(value) - encode unsigned integerTBD
FAQs
Encoding and serialization utilities for the [Dango](https://dango.exchange) ecosystem.
The npm package @left-curve/encoding receives a total of 7 weekly downloads. As such, @left-curve/encoding popularity was classified as not popular.
We found that @left-curve/encoding demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
The Fable shutdown shows how quickly model access can become a business continuity risk for AI-dependent engineering teams.

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.