npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

symbol-peertools

v1.0.5

Published

Symbol Peer Tools

Downloads

3

Readme

symbol-peertools

Symbol Peer Node Tools

oclif Version Downloads/week

Usage

$ npm install -g symbol-peertools
$ symbol-peertools COMMAND
running command...
$ symbol-peertools (--version)
symbol-peertools/1.0.5 win32-x64 node-v20.16.0
$ symbol-peertools --help [COMMAND]
USAGE
  $ symbol-peertools COMMAND
...

Commands

symbol-peertools certGen

Generate Symbol node certificate.

USAGE
  $ symbol-peertools certGen [--cadays <value>] [--caname <value>] [--certdir <value>] [--force] [--nodedays
    <value>] [--nodename <value>] [--privatekeys <value>]

FLAGS
  --cadays=<value>       [default: 7300] CA certificate days
  --caname=<value>       [default: Simple Symbol CA] CA Name
  --certdir=<value>      [default: ./cert] Certificate output directory
  --force                Overwrite certificate output directory
  --nodedays=<value>     [default: 375] Node certificate days
  --nodename=<value>     [default: Simple Symbol Node] Node Name
  --privatekeys=<value>  [default: ./privatekeys.yaml] Encrypted privatekeys file save path

DESCRIPTION
  Generate Symbol node certificate.

EXAMPLES
  $ symbol-peertools certGen --caname "Test CA" --nodename "Test Node"

See code: src/commands/certGen/index.ts

symbol-peertools certInfo

Display Symbol node certificate information.

USAGE
  $ symbol-peertools certInfo [--certdir <value>] [-n <value>]

FLAGS
  -n, --networkId=<value>  [default: mainnet] network ID(mainnet/testnet/any number)
      --certdir=<value>    [default: ./cert] Certificate directory

DESCRIPTION
  Display Symbol node certificate information.

EXAMPLES
  $ symbol-peertools certInfo

See code: src/commands/certInfo/index.ts

symbol-peertools certRenew

Renew Symbol node certificate.

USAGE
  $ symbol-peertools certRenew [--cadays <value>] [--certdir <value>] [--nodedays <value>] [--privatekeys
    <value>]

FLAGS
  --cadays=<value>       [default: 7300] CA certificate days
  --certdir=<value>      [default: ./cert] Certificate directory
  --nodedays=<value>     [default: 375] Node certificate days
  --privatekeys=<value>  [default: ./privatekeys.yaml] Encrypted privatekeys file save path

DESCRIPTION
  Renew Symbol node certificate.

EXAMPLES
  $ symbol-peertools certRenew

See code: src/commands/certRenew/index.ts

symbol-peertools chainInfo

Display the same results as /chain/info for API nodes.

USAGE
  $ symbol-peertools chainInfo [-p <value>] [-h <value>] [-c <value>]

FLAGS
  -c, --configFilePath=<value>  [default: ./config.json] Config file path.
  -h, --host=<value>            [default: 127.0.0.1] Host of Symbol node to access.
  -p, --port=<value>            [default: 7900] Port of symbol node to be accessed.

DESCRIPTION
  Display the same results as /chain/info for API nodes.

EXAMPLES
  $ symbol-peertools chainInfo

See code: src/commands/chainInfo/index.ts

symbol-peertools help [COMMAND]

Display help for symbol-peertools.

USAGE
  $ symbol-peertools help [COMMAND...] [-n]

ARGUMENTS
  COMMAND...  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for symbol-peertools.

See code: @oclif/plugin-help

symbol-peertools nodeDiagnosticCounters

Display diagnostic counters for the Symbol node.(IP required for trustedHosts)

USAGE
  $ symbol-peertools nodeDiagnosticCounters [-p <value>] [-h <value>] [-c <value>]

FLAGS
  -c, --configFilePath=<value>  [default: ./config.json] Config file path.
  -h, --host=<value>            [default: 127.0.0.1] Host of Symbol node to access.
  -p, --port=<value>            [default: 7900] Port of symbol node to be accessed.

DESCRIPTION
  Display diagnostic counters for the Symbol node.(IP required for trustedHosts)

EXAMPLES
  $ symbol-peertools nodeDiagnosticCounters

See code: src/commands/nodeDiagnosticCounters/index.ts

symbol-peertools nodeInfo

Display the same results as /node/info for API nodes.

USAGE
  $ symbol-peertools nodeInfo [-p <value>] [-h <value>] [-c <value>]

FLAGS
  -c, --configFilePath=<value>  [default: ./config.json] Config file path.
  -h, --host=<value>            [default: 127.0.0.1] Host of Symbol node to access.
  -p, --port=<value>            [default: 7900] Port of symbol node to be accessed.

DESCRIPTION
  Display the same results as /node/info for API nodes.

EXAMPLES
  $ symbol-peertools nodeInfo

See code: src/commands/nodeInfo/index.ts

symbol-peertools nodePeers

Display the same results as /node/peers for API nodes.

USAGE
  $ symbol-peertools nodePeers [-p <value>] [-h <value>] [-c <value>]

FLAGS
  -c, --configFilePath=<value>  [default: ./config.json] Config file path.
  -h, --host=<value>            [default: 127.0.0.1] Host of Symbol node to access.
  -p, --port=<value>            [default: 7900] Port of symbol node to be accessed.

DESCRIPTION
  Display the same results as /node/peers for API nodes.

EXAMPLES
  $ symbol-peertools nodePeers

See code: src/commands/nodePeers/index.ts

symbol-peertools nodeTime

Display the same results as /node/time for API nodes.

USAGE
  $ symbol-peertools nodeTime [-p <value>] [-h <value>] [-c <value>]

FLAGS
  -c, --configFilePath=<value>  [default: ./config.json] Config file path.
  -h, --host=<value>            [default: 127.0.0.1] Host of Symbol node to access.
  -p, --port=<value>            [default: 7900] Port of symbol node to be accessed.

DESCRIPTION
  Display the same results as /node/time for API nodes.

EXAMPLES
  $ symbol-peertools nodeTime

See code: src/commands/nodeTime/index.ts

symbol-peertools nodeUnlockedAccount

Display the same results as /node/unlockedaccount for API nodes.(IP required for trustedHosts)

USAGE
  $ symbol-peertools nodeUnlockedAccount [-p <value>] [-h <value>] [-c <value>]

FLAGS
  -c, --configFilePath=<value>  [default: ./config.json] Config file path.
  -h, --host=<value>            [default: 127.0.0.1] Host of Symbol node to access.
  -p, --port=<value>            [default: 7900] Port of symbol node to be accessed.

DESCRIPTION
  Display the same results as /node/unlockedaccount for API nodes.(IP required for trustedHosts)

EXAMPLES
  $ symbol-peertools nodeUnlockedAccount

See code: src/commands/nodeUnlockedAccount/index.ts

symbol-peertools rest CMD

REST for peer node.

USAGE
  $ symbol-peertools rest CMD [-c <value>]

ARGUMENTS
  CMD  REST Server Start or Stop

FLAGS
  -c, --config=<value>  [default: ./config.json] config file.

DESCRIPTION
  REST for peer node.

EXAMPLES
  $ symbol-peertools rest start

  $ symbol-peertools rest start -c ./symbol-peertools/config.json

  $ symbol-peertools rest stop

See code: src/commands/rest/index.ts

symbol-peertools watcher CMD

Monitor Symbol node activity.

USAGE
  $ symbol-peertools watcher CMD [-c <value>]

ARGUMENTS
  CMD  Monitor Symbol node activity Start or Stop.

FLAGS
  -c, --config=<value>  [default: ./config.json] config file.

DESCRIPTION
  Monitor Symbol node activity.

EXAMPLES
  $ symbol-peertools watcher start

  $ symbol-peertools watcher stop

See code: src/commands/watcher/index.ts

symbol-peertools wizard

Wizard for generating Symbol certificate.

USAGE
  $ symbol-peertools wizard [-c <value>]

FLAGS
  -c, --configFilePath=<value>  [default: ./config.json] Config file path.

DESCRIPTION
  Wizard for generating Symbol certificate.

EXAMPLES
  $ symbol-peertools wizard wizard

See code: src/commands/wizard/index.ts