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 🙏

© 2026 – Pkg Stats / Ryan Hefner

eureka-register

v0.0.1

Published

CLI for registering eureka services manually

Readme

eureka-register

CLI for registering eureka services manually

oclif Version Downloads/week License

Usage

$ npm install -g eureka-register
$ eureka-register COMMAND
running command...
$ eureka-register (-v|--version|version)
eureka-register/0.0.1 linux-x64 node-v12.16.1
$ eureka-register --help [COMMAND]
USAGE
  $ eureka-register COMMAND
...

Commands

eureka-register help [COMMAND]

display help for eureka-register

USAGE
  $ eureka-register help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

eureka-register register

Register an service to an eureka instance

USAGE
  $ eureka-register register

OPTIONS
  -b, --heartbeatInterval=heartbeatInterval  [default: 30000] eureka heartbeat interval in ms.

  -c, --healthCheckUrl=healthCheckUrl        [default: http://{HOSTNAME}:{PORT}/actuator/health] Service health check
                                             url

  -h, --hostname=hostname                    [default: localhost] Service hostname

  -i, --ip=ip                                [default: 127.0.0.1] Service ip.

  -n, --name=name                            (required) Service name

  -o, --eurekaHostname=eurekaHostname        [default: localhost] eureka instance hostname.

  -p, --port=port                            (required) Service port

  -r, --eurekaPort=eurekaPort                [default: 8761] eureka instance port.

  -s, --eurekaServicePath=eurekaServicePath  [default: /eureka/apps/] eureka servicePath.

  -t, --statusPageUrl=statusPageUrl          [default: http://{HOSTNAME}:{PORT}/actuator/info] Service status page url

  -v, --vipAddr=vipAddr                      [default: {NAME}] Service vip address. Default value is upper cased

  -w, --watch                                Watch client and unregister on process exit

DESCRIPTION
  ...
  Register a single service

See code: src/commands/register.js

eureka-register register-many

Register many services to an single eureka instance

USAGE
  $ eureka-register register-many

OPTIONS
  -c, --configFile=configFile  [default: ./eureka-registry.json] path to configuration file
  -i, --include=include        Comma separated regex pattern to match against service names to INCLUDE from command
  -v, --validateOnly           Enable validation mode. Only config file is validated
  -w, --watch                  Watch clients and unregister on process exit
  -x, --exclude=exclude        Comma separated regex pattern to match against service names to EXCLUDE from command

DESCRIPTION
  ...
  Configurations must be defined in a config file in JSON format as such:
  {
     "eureka": {
       "hostname": "localhost",
       "port": 8761,
       "statusPageUrlPath": "",
       "healthCheckUrlPath": "",
       "servicePath": "/eureka/apps/",
       "heartbeatInterval": 30000
     },
     "apps": [
       {
         "name": "nomeDoApp",
         "ip": "127.0.0.1",
         "hostname": "localhost",
         "port": 80,
         "vipAddress": "MY-APP-VIP-ADDR",
         "statusPageUrl": "http://localhost:80/status",
         "healthCheckUrl": "http://localhost:80/health"
       }
     ]
  }

  Properties descriptions:

  eureka.hostname:
     (string) [Default localhost]
      Eureka instance hostname
  eureka.port:
     (number) [Default 8761]
     Eureka instance port.
  eureka.statusPageUrlPath:
     (string) [Default see below]
     Default status page url to be used if app record does no set one.
     It will be concatenated as: "http://{APP_HOSTNAME}:{APP_PORT}{statusPageUrlPath}"
  eureka.healthCheckUrlPath:
     (string) [Default see below]
     Default health check url to be used if app record does no set one.
     it will be concatenated as: "http://{APP_HOSTNAME}:{APP_PORT}{statusPageUrlPath}"
  eureka.servicePath:
     (string) [Default: /eureka/apps/]
     Eureka instance service path.
  eureka.heartbeatInterval:
     (number) [Default: 30000]
     Client heartbeat interval in milliseconds.

  apps:
     (Array) [Required]
     Array of app config objects
  apps[n].name:
     (string) [Required]
     App name.
  apps[n].ip:
     (string) [Default: 127.0.0.1]
     App ip address.
  apps[n].port:
     (number) [Required]
     App port number.
  apps[n].hostname:
     (number) [Default localhost]
     App hostname.
  apps[n].vipAddress:
     (string) [Default: {apps[n].name} in uppercase of this record ex: MY-APP, MYAPP]
     App ip address.
  apps[n].statusPageUrl:
     (string) [Default: http://{HOSTNAME}:{PORT}/actuator/info]
     App status page url.
  apps[n].healthCheckUrl:
     (string) [Default: http://{HOSTNAME}:{PORT}/actuator/health]
     App status  health check url.

See code: src/commands/register-many.js

eureka-register register-pods

Register many services to an single eureka instance

USAGE
  $ eureka-register register-pods

OPTIONS
  -c, --configFile=configFile  [default: ./eureka-registry.json] path to configuration file
  -i, --include=include        Comma separated regex pattern to match against service names to INCLUDE from command
  -v, --validateOnly           Enable validation mode. Only config file is validated
  -w, --watch                  Watch clients and unregister on process exit
  -x, --exclude=exclude        Comma separated regex pattern to match against service names to EXCLUDE from command

DESCRIPTION
  ...
  Configurations must be defined in a config file in JSON format as such:
  {
     "eureka": {
       "hostname": "localhost",
       "port": 8761,
       "statusPageUrlPath": "",
       "healthCheckUrlPath": "",
       "servicePath": "/eureka/apps/",
       "heartbeatInterval": 30000
     },
     "apps": [
       {
         "name": "nomeDoApp",
         "ip": "127.0.0.1",
         "hostname": "localhost",
         "port": 80,
         "vipAddress": "MY-APP-VIP-ADDR",
         "statusPageUrl": "http://localhost:80/status",
         "healthCheckUrl": "http://localhost:80/health"
       }
     ]
  }

  Properties descriptions:

  eureka.hostname:
     (string) [Default localhost]
      Eureka instance hostname
  eureka.port:
     (number) [Default 8761]
     Eureka instance port.
  eureka.statusPageUrlPath:
     (string) [Default see below]
     Default status page url to be used if app record does no set one.
     It will be concatenated as: "http://{APP_HOSTNAME}:{APP_PORT}{statusPageUrlPath}"
  eureka.healthCheckUrlPath:
     (string) [Default see below]
     Default health check url to be used if app record does no set one.
     it will be concatenated as: "http://{APP_HOSTNAME}:{APP_PORT}{statusPageUrlPath}"
  eureka.servicePath:
     (string) [Default: /eureka/apps/]
     Eureka instance service path.
  eureka.heartbeatInterval:
     (number) [Default: 30000]
     Client heartbeat interval in milliseconds.

  apps:
     (Array) [Required]
     Array of app config objects
  apps[n].name:
     (string) [Required]
     App name.
  apps[n].ip:
     (string) [Default: 127.0.0.1]
     App ip address.
  apps[n].port:
     (number) [Required]
     App port number.
  apps[n].hostname:
     (number) [Default localhost]
     App hostname.
  apps[n].vipAddress:
     (string) [Default: {apps[n].name} in uppercase of this record ex: MY-APP, MYAPP]
     App ip address.
  apps[n].statusPageUrl:
     (string) [Default: http://{HOSTNAME}:{PORT}/actuator/info]
     App status page url.
  apps[n].healthCheckUrl:
     (string) [Default: http://{HOSTNAME}:{PORT}/actuator/health]
     App status  health check url.

See code: src/commands/register-pods.js

eureka-register unregister

Unregister an service to an eureka instance

USAGE
  $ eureka-register unregister

OPTIONS
  -b, --heartbeatInterval=heartbeatInterval  [default: 30000] eureka heartbeat interval in ms.

  -c, --healthCheckUrl=healthCheckUrl        [default: http://{HOSTNAME}:{PORT}/actuator/health] Service health check
                                             url

  -h, --hostname=hostname                    [default: localhost] Service hostname

  -i, --ip=ip                                [default: 127.0.0.1] Service ip.

  -n, --name=name                            (required) Service name

  -o, --eurekaHostname=eurekaHostname        [default: localhost] eureka instance hostname.

  -p, --port=port                            (required) Service port

  -r, --eurekaPort=eurekaPort                [default: 8761] eureka instance port.

  -s, --eurekaServicePath=eurekaServicePath  [default: /eureka/apps/] eureka servicePath.

  -t, --statusPageUrl=statusPageUrl          [default: http://{HOSTNAME}:{PORT}/actuator/info] Service status page url

  -v, --vipAddr=vipAddr                      [default: {NAME}] Service vip address. Default value is upper cased

DESCRIPTION
  ...
  Unregister a single service

See code: src/commands/unregister.js