Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

voidnote

Official TypeScript/JavaScript SDK for VoidNote — zero-knowledge self-destructing notes.

Install

npm install voidnote-sdk

Usage

Read a note

import * 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 reached

Create a note (requires API key)

import * 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 link

Environments

Works in Node.js 18+, Deno, Bun, Cloudflare Workers, and modern browsers (anything with Web Crypto API + fetch).

Links

About

Official TypeScript/JavaScript SDK for VoidNote — zero-knowledge self-destructing notes

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages