0.0.5 • Published 2 years ago

@nostr-ts/node v0.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

nostr-ts Node

Nostr: A simple, open protocol that enables a truly censorship-resistant and global social network.

This package is part of nostr-ts.

  • @nostr-ts/common: common types and functions
  • @nostr-ts/node: client for usage with node ws library
  • @nostr-ts/web: client for usage with browser WebSocket API

Checkout the documentation for more information.

Installation

pnpm add @nostr-ts/node

Get started

import { NewShortTextNote, NFilters } from '@nostr-ts/common'
import { RelayClient, RelayDiscovery, loadOrCreateKeypair, NUser } from '@nostr-ts/node'

In the browser use:

import { NewShortTextNote, NFilters } from '@nostr-ts/common'
import { RelayClient, loadOrCreateKeypair, NUser } from '@nostr-ts/web'
0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago