This package works with DenoIt is unknown whether this package works with Cloudflare Workers, Node.js, Bun, Browsers




JSR Score
94%
Published
7 months ago (0.35.0)
Nostrify ❤️ NDK
This package connects NDK with Nostrify, allowing you to use NDK as a regular Nostrify relay.
import NDK from '@nostr-dev-kit/ndk'; import { NDKStore } from '@nostrify/ndk'; const ndk = new NDK(/* set up NDK */); await ndk.connect(); const relay = new NDKStore(ndk); // `NStore` compatible
License
MIT
Add Package
deno add jsr:@nostrify/ndk
Import symbol
import * as ndk from "@nostrify/ndk";
Import directly with a jsr specifier
import * as ndk from "jsr:@nostrify/ndk";
Add Package
pnpm i jsr:@nostrify/ndk
pnpm dlx jsr add @nostrify/ndk
Import symbol
import * as ndk from "@nostrify/ndk";
Add Package
yarn add jsr:@nostrify/ndk
yarn dlx jsr add @nostrify/ndk
Import symbol
import * as ndk from "@nostrify/ndk";
Add Package
npx jsr add @nostrify/ndk
Import symbol
import * as ndk from "@nostrify/ndk";
Add Package
bunx jsr add @nostrify/ndk
Import symbol
import * as ndk from "@nostrify/ndk";