node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

moleculer-repl

Moleculer logo

REPL module for Moleculer NPM version

The moleculer-repl is an interactive console. Created with vorpal.

Features

  • list nodes
  • list services
  • list actions
  • call action
  • emit events
  • load services (from file or folder)
  • show local informations & configuration

Install

npm install moleculer-repl --save

Usage

Start broker in REPL mode

let broker = new ServiceBroker({ logger: console });
 
// Start REPL
broker.repl();

You will get a console:

mol $ 

Run help to see available commands.

Documentation

Please read our documentation on Moleculer site

Contribution

Please send pull requests improving the usage and fixing bugs, improving documentation and providing better examples, or providing some testing, because these things are important.

License

The project is available under the MIT license.

Contact

Copyright (c) 2017 Ice Services

@icebob @icebob