moleculer-repl
TypeScript icon, indicating that this package has built-in type declarations

0.7.4 • Public • Published

Moleculer logo

REPL module for Moleculer NPM version

The moleculer-repl is an interactive console.

Features

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

Install

npm install moleculer-repl --save

Usage

Start broker in REPL mode

const broker = new ServiceBroker();

broker.start().then(() => {
    // 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) 2020 MoleculerJS

@moleculerjs @MoleculerJS

Package Sidebar

Install

npm i moleculer-repl

Weekly Downloads

13,286

Version

0.7.4

License

MIT

Unpacked Size

103 kB

Total Files

39

Last publish

Collaborators

  • icebob