moleculer-connect

0.2.2 • Public • Published

Welcome to moleculer-connect 👋

Version Documentation Maintenance License: MIT

A command-line interface for connecting to Moleculer microservices

🏠 Homepage

Usage

npm install moleculer-connect moleculer-repl@0.6.6

For example, run below command to connect to a Moleculer TypeScript project:

NODE_OPTIONS='--import tsx' moleculer-connect --env --config moleculer.config.ts

Options

The CLI supports several options to customize the connection:

Options:
      --version     Show version number                                [boolean]
      --help        Show help                                          [boolean]
  -c, --config      Load configuration from a file        [string] [default: ""]
      --ns          Namespace                             [string] [default: ""]
      --level       Logging level                     [string] [default: "info"]
      --id          NodeID                              [string] [default: null]
  -h, --hot         Enable hot-reload                 [boolean] [default: false]
      --serializer  Serializer                          [string] [default: null]
      --commands    Custom REPL command file mask (e.g.: ./commands/*.js)
                                                        [string] [default: null]

Author

👤 Dung Huynh Duc dung@productsway.com

Show your support

Give a ⭐️ if this project helped you!

kofi paypal buymeacoffee

📝 License

Copyright © 2023 Dung Huynh Duc dung@productsway.com.
This project is MIT licensed.

Package Sidebar

Install

npm i moleculer-connect

Weekly Downloads

485

Version

0.2.2

License

MIT

Unpacked Size

103 kB

Total Files

23

Last publish

Collaborators

  • jellydn