Nostalgic Perogi Monogramming
Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

cn-shell

2.12.3 • Public • Published

code style: prettier

Cloud Native Shell

Cloud Native Shell is shortened to cn-shell.

cn-shell is a JS wrapper, like a shell, for cloud native applications.

The following configuration environmental variables are used:

  • CNA_LOG_LEVEL: Used to specify the log level of the CNA. Allowed values are:

    "TRACE": Include trace and debug messages in logging "DEBUG": Include debug messages in logging "INFO": Default. Log only informational messages (default value) "QUIET": Disable all logging except for fatals, errors and warnings "SILENT": Disable all logging without exception

  • HTTP_KEEP_ALIVE_TIMEOUT: Use to spcify the HTTP keep alive timeout value in ms

  • CNA_HTTP_INTERFACE: Used to specify the interface to listen on. Default is "0.0.0.0"

  • CNA_HTTP_PORT: Used to specify the port to listen on. Default is "80"

  • CNA_HEALTHCHECK_PATH: Used to specify the path to use for the healcheck endpoint. Default is "/healthcheck"

  • CNA_HTTP_LISTEN_LOCAL: Used to listen on localhost for HTTP requests

Documentation will be along shortly!

Install

npm i cn-shell

DownloadsWeekly Downloads

115

Version

2.12.3

License

MIT

Unpacked Size

47.4 kB

Total Files

14

Last publish

Collaborators

  • avatar