New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

nostr-social-graph

Package Overview
Dependencies
Maintainers
0
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nostr-social-graph

Nostr social graph library

  • 1.0.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
88
increased by12.82%
Maintainers
0
Weekly downloads
 
Created
Source
  • Build a social graph from Nostr follow events
  • Make queries for followed users, followers and follow distances
  • Change social graph root user if needed, efficiently recalculating follow distances
  • Low memory consumption
  • Efficient serialization for saving & loading from storage
  • Optional: pre-crawled Nostr datasets
    • follows, consisting of 260 follow lists and 23 000 users (2.2 MB)
    • large_social_graph.json: 36.8 MB dataset of 161K users and 5.3M follows
    • profile names and pictures for 19 000 users (2.8 MB)
  • Demo: graph.iris.to (examples dir)
  • Also used on beta.iris.to
  • See tests for usage
  • The magic happens mostly in SocialGraph.ts

FAQs

Package last updated on 20 Jan 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

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