Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nostr-dev-kit/ndk-svelte-components

Package Overview
Dependencies
Maintainers
0
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nostr-dev-kit/ndk-svelte-components

Reusable Svelte components.

  • 2.3.3
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
217
increased by53.9%
Maintainers
0
Weekly downloads
 
Created
Source

ndk-svelte-components

Reusable Svelte components.

Installation

# With npm
npm add @nostr-dev-kit/ndk-svelte-components

# With pnpm
pnpm add @nostr-dev-kit/ndk-svelte-components

# With yarn
yarn install @nostr-dev-kit/ndk-svelte-components

Storybook

This project uses pnpm to manage dependencies.

git clone https://github.com/nostr-dev-kit/ndk-svelte-components
cd ndk-svelte-components
pnpm i
pnpm run storybook

Components

Event

<EventCard>

Displays a card with formatted event content.

<EventContent>

Formats the content of an event for an EventCard. Currently supports:

  • kind 1 events
  • Embedded kind 1 events in other kind 1 events

User

<Avatar>

Displays a user's avatar

<Name>

Displays a user's name

Relay

<RelayList ndk />

Displays a list of relays the NDK instance is connected to, along with information about active subscriptions and connectivity stats.

License

MIT

Author

  • pablof7z (npub1l2vyh47mk2p0qlsku7hg0vn29faehy9hy34ygaclpn66ukqp3afqutajft)
  • jeffg (npub1zuuajd7u3sx8xu92yav9jwxpr839cs0kc3q6t56vd5u9q033xmhsk6c2uc)

FAQs

Package last updated on 02 Nov 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc