NIP-01 Nostr event.
Unix timestamp in seconds.
TypeScript types for Nostr. Standardized types from the NIPs, as well as useful interfaces that promote consistency across your applications.
NIP-01 Nostr event.
Unix timestamp in seconds.
Add Package
deno add jsr:@nostrify/types
Import symbol
import { type NostrEvent } from "@nostrify/types";
---- OR ----
Import directly with a jsr specifier
import { type NostrEvent } from "jsr:@nostrify/types";
Add Package
npx jsr add @nostrify/types
Import symbol
import { type NostrEvent } from "@nostrify/types";
Add Package
yarn dlx jsr add @nostrify/types
Import symbol
import { type NostrEvent } from "@nostrify/types";
Add Package
pnpm dlx jsr add @nostrify/types
Import symbol
import { type NostrEvent } from "@nostrify/types";
Add Package
bunx jsr add @nostrify/types
Import symbol
import { type NostrEvent } from "@nostrify/types";