https://github.com/nostr-dev-kit/ndk
Or with #NDK
// Import the package, NIP-07 signer and NDK event
import NDK, { NDKNip07Signer, NDKEvent } from "@nostr-dev-kit/ndk";
const nip07signer = new NDKNip07Signer();
const ndk = new NDK({ signer: nip07signer });
Code formatting probably looks like crap in this note. Check the link.