# nostr-tools JavaScript Library

**Canonical:** https://apis.io/apis/nostr/nostr-tools/  
**Provider:** Nostr — https://apis.io/providers/nostr/  
**Base URL:** https://www.npmjs.com/package/nostr-tools  
**Documentation:** https://github.com/nbd-wtf/nostr-tools

nostr-tools JavaScript Library is one of 4 APIs that [Nostr](https://apis.io/providers/nostr/) publishes on the [APIs.io](https://apis.io/) network. Tagged areas include SDK, JavaScript, TypeScript, and Client Library.

nostr-tools is the de-facto JavaScript/TypeScript library for Nostr clients and bots. It implements event creation, signing, relay connections, subscription filters, and many common NIPs, and is used by a large portion of the Nostr web ecosystem.

## Machine-readable artifacts (2)

- **Repository** — https://github.com/nbd-wtf/nostr-tools
- **Package** — https://www.npmjs.com/package/nostr-tools

## Other Nostr APIs (3)

- [Nostr Protocol (NIP-01)](https://apis.io/apis/nostr/nostr-protocol/)
- [Nostr Implementation Possibilities (NIPs)](https://apis.io/apis/nostr/nostr-nips/)
- [Nostr Relay WebSocket Interface](https://apis.io/apis/nostr/relay-interface/)

## Tags

SDK, JavaScript, TypeScript, Client Library

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/nostr/nostr-tools/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/nostr/.
