{"library":"nostr-fetch","type":"library","category":null,"description":"A utility library for JavaScript/TypeScript applications to fetch past events from Nostr relays with built-in concurrency control, timeout handling, and connection management. Version 0.17.0 is current, with a stable API and frequent releases. Unlike raw WebSocket handling or libraries like nostr-tools, nostr-fetch provides a high-level fetch interface that abstracts relay subscription lifecycle, retries, and pagination. It supports both Node.js and browser environments, ships TypeScript types, and is ESM-only. Key differentiators include automatic relay connection pooling, custom fetch strategies, and event validation against filters.","language":"javascript","status":"active","version":"0.17.0","tags":["javascript","nostr","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install nostr-fetch","imports":["import { fetchEvents } from 'nostr-fetch'","import { NostrFetcher } from 'nostr-fetch'","import type { FetchResult } from 'nostr-fetch'"]},{"cmd":"yarn add nostr-fetch","imports":[]},{"cmd":"pnpm add nostr-fetch","imports":[]}],"homepage":"https://github.com/jiftechnify/nostr-fetch#readme","github":"https://github.com/jiftechnify/nostr-fetch","docs":null,"changelog":null,"pypi":null,"npm":"nostr-fetch","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}