Skip to main content

latest

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
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with 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";