Skip to main content
Home

@nostrify/ndk@0.35.0

latest

Nostrify integration with NDK.

This package works with DenoIt is unknown whether this package works with Cloudflare Workers, Node.js, Bun, Browsers
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
It is unknown whether this package works with 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

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/ndk

Import symbol

import * as ndk from "@nostrify/ndk";
or

Import directly with a jsr specifier

import * as ndk from "jsr:@nostrify/ndk";

Add Package

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

Import symbol

import * as ndk from "@nostrify/ndk";

Add Package

yarn add jsr:@nostrify/ndk
or (using Yarn 4.8 or older)
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";