Latest Supply Chain Attack:Mini Shai-Hulud Hits @antv npm Packages, 639 Versions Compromised.Learn More
Socket
Book a DemoSign in
Socket

@nostr-ts/web

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nostr-ts/web

nostr in the browser

latest
Source
npmnpm
Version
0.0.7
Version published
Maintainers
1
Created
Source

nostr-ts Web

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/web

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'

Keywords

nostr

FAQs

Package last updated on 10 Jul 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts