Official TypeScript/JavaScript SDK for VoidNote — zero-knowledge self-destructing notes.
npm install voidnote-sdkimport * as voidnote from "voidnote";
const result = await voidnote.read("https://voidnote.net/note/abc123...");
console.log(result.content); // decrypted content
console.log(result.destroyed); // true if view limit was reachedimport * as voidnote from "voidnote";
const result = await voidnote.create("my secret value", {
apiKey: "vn_...",
maxViews: 1,
title: "Deploy key",
});
console.log(result.url); // share this linkWorks in Node.js 18+, Deno, Bun, Cloudflare Workers, and modern browsers (anything with Web Crypto API + fetch).