1.0.8 • Published 7 months ago

nscan v1.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

nscan

Scan for nostr chat channel activity.

Usage: nscan -c config

Config:

  • top (number): Specifies the top # of channels to report. (default 50)
  • days (number): Specifies the number of days to look back. (default 1)
  • msgs (number): Specifies the number of sample messages to accumulate. (default 20)
  • minlen (number): Specifies the minimum len to count as a nice sample message. (default 0)
  • out (string): Specifies the output file name (default top.json).
  • relays (string[]): Specifies an array of relay names.

Default cfg name is "nscan.json"

Import:

import scanChannels from 'nscan'

await scanChannels(... config ...)
1.0.8

7 months ago

1.0.7

7 months ago

1.0.5

10 months ago

1.0.4

12 months ago

1.0.3

12 months ago

1.0.2

12 months ago

1.0.1

12 months ago