NIP-01 message from a relay to client.
TypeScript types for Nostr. Standardized types from the NIPs, as well as useful interfaces that promote consistency across your applications.
This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
JSR Score
100%
Published
a week ago (0.30.1)
Add Package
deno add jsr:@nostrify/types
Import symbol
import { type NostrRelayMsg } from "@nostrify/types";
---- OR ----
Import directly with a jsr specifier
import { type NostrRelayMsg } from "jsr:@nostrify/types";
Add Package
npx jsr add @nostrify/types
Import symbol
import { type NostrRelayMsg } from "@nostrify/types";
Add Package
yarn dlx jsr add @nostrify/types
Import symbol
import { type NostrRelayMsg } from "@nostrify/types";
Add Package
pnpm dlx jsr add @nostrify/types
Import symbol
import { type NostrRelayMsg } from "@nostrify/types";
Add Package
bunx jsr add @nostrify/types
Import symbol
import { type NostrRelayMsg } from "@nostrify/types";