0.17.0 • Published 1 year ago
@nostr-fetch/adapter-nostr-tools v0.17.0
@nostr-fetch/adapter-nostr-tools
This package includes the adapter for nostr-tools' SimplePool which allows it to work with nostr-fetch, a utility library for fetching past events from Nostr relays.
If you want to use nostr-fetch, here is a good start point!
Example
import { SimplePool } from 'nostr-tools';
import { NostrFetcher } from 'nostr-fetch';
import { simplePoolAdapter } from '@nostr-fetch/adapter-nostr-tools'
const pool = new SimplePool();
const fetcher = NostrFetcher.withCustomPool(simplePoolAdapter(pool));Minimum Supported Version of nostr-tools
| adapter version | nostr-tools version |
|---|---|
| * | 1.3.0 |
0.16.0
1 year ago
0.17.0
1 year ago
0.15.1
2 years ago
0.15.0
2 years ago
0.14.0
2 years ago
0.14.1
2 years ago
0.10.0
2 years ago
0.11.0
2 years ago
0.10.1
2 years ago
0.12.0
2 years ago
0.13.0
2 years ago
0.12.1
2 years ago
0.13.1
2 years ago
0.12.2
2 years ago
0.9.0
2 years ago
0.8.0
2 years ago
0.7.0
3 years ago
0.6.0
3 years ago
0.5.4
3 years ago
0.5.3
3 years ago
0.5.2
3 years ago
0.5.1
3 years ago
0.5.0
3 years ago