Skip to main content
Home

latest

Framework for Nostr on Deno and web. 🛸

This package works with Deno, BrowsersIt is unknown whether this package works with Cloudflare Workers, Node.js, Bun
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
This package works with Browsers
JSR Score
94%
Published
2 months ago (0.46.5)
class N64

Nostr base64 helper utilities.

Static Methods

decodeEvent(base64: string): NostrEvent

Decode an event from a base64 string. Validates the event's structure but does not verify its signature.

encodeEvent(event: NostrEvent): string

Encode an event as a base64 string.

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@nostrify/nostrify

Import symbol

import { N64 } from "@nostrify/nostrify/utils";
or

Import directly with a jsr specifier

import { N64 } from "jsr:@nostrify/nostrify/utils";

Add Package

pnpm i jsr:@nostrify/nostrify
or (using pnpm 10.8 or older)
pnpm dlx jsr add @nostrify/nostrify

Import symbol

import { N64 } from "@nostrify/nostrify/utils";

Add Package

yarn add jsr:@nostrify/nostrify
or (using Yarn 4.8 or older)
yarn dlx jsr add @nostrify/nostrify

Import symbol

import { N64 } from "@nostrify/nostrify/utils";

Add Package

vlt install jsr:@nostrify/nostrify

Import symbol

import { N64 } from "@nostrify/nostrify/utils";

Add Package

npx jsr add @nostrify/nostrify

Import symbol

import { N64 } from "@nostrify/nostrify/utils";

Add Package

bunx jsr add @nostrify/nostrify

Import symbol

import { N64 } from "@nostrify/nostrify/utils";