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

@microservice-framework/mfw-cli

v1.3.2

Published

Console utility for @microservice-framework

Readme

mfw-cli

Gitter npm microservice-frame.work

Console utility for @microservice-framework.

Installation

# npm install @microservice-framework/mfw-cli -g

Setup new project

# mfw setup [dir]

Running setup will generate a directory structure in [dir] or the current directory and create a package.json for the project.

You can run it within an already existing directory that contains a package.json file. If you choose to do so mfw-cli will download and silently configure all services based on either the default or what you have saved for each service within your package.json file.

Install service

Once your project has been configured, the next step is to add services. Each dservice represents one end-point.

A [service] can be a...

  • npm package name.
    • Downloaded from the npm registry. See
  • Repository, like: [email protected]:owner/repo
    • Downloaded from git.
  • Local path to a directory containing a package.
    • Package will be copied.

It supports all of the formats that npm pack supports: a package folder, tarball, tarball url, name@tag, name@version, name, or scoped name, etc.

# mfw install [service]

Example:

# mfw install @microservice-framework/microservice-router --save

The installation will begin, then ask for microservice-router configuration details. Using the --save option will export all the configuration details to the package.json file of the project.

Uninstall service

If you'd like to uninstall a package, simply:

# mfw uninstall [service]

Example:

# mfw uninstall microservice-router --save

The microservice-router package will be removed from services. The directories will be cleaned up. Using the --save option will remove the service and all of the setting from the package.json file of the project.

Update service

If you need to update the service to coincide with changes to the root package, you can update.

# mfw update [service]

Example:

# mfw update microservice-router

Updating will download the latest microservice-router, overwriting the old package.

# mfw update all

You can update all services to the latest version.

Switch enviroment

mfw supports different environments. You can keep your local, stage, dev, production information within one package.

Each ENV data can be written using this pattern:

[envName.]package.json

Example:

dev.package.json

The default env is package.json

# mfw env [env]

You can switch to existing environments, or generate new one.

Example:

# mfw env dev

Start service

Once your services have been installed, you can start them.

# mfw start [service]

If all is provided, then all services will be started.

Stop service

You can stop them, too!

# mfw stop [service]

If all provided, all services will be stopped.

Restart service

You can restart service(s) as well

# mfw restart [service]

If all provided, all services will be restarted.

Status service

You can display the status for specified services or for all service.

# mfw status <service>

status

The status report will include CPU, MEMORY usage and up/down + version and pid information

Microservice client integration

  • Create (POST): mfw client-create [options] <service> <JSONDATA> - send create request to microservice.
  • Read (GET): mfw client-read [options] <service> <id> - read record by ID.
  • Update (PUT): mfw client-update [options] <service> <id> <JSONDATA> - update record by ID.
  • Delete (DELETE): mfw client-delete [options] <service> <id> - delete record from microservice by ID.
  • Search (SEARCH): mfw client-search [options] <service> <JSONDATA> - search records by query.

CHANGELOG

  • 1.2.6 - Windows compatibility bugfix for install and update.
  • 1.3.0
    • fixed issue with service stop on WIN platform
    • added restart command
    • fixed setup on WIN platform
    • added --json option to get json output for all commands
    • tests are covering all commands
  • 1.3.1
    • fix issue with PID is not string
  • 1.3.2
    • fix issue with PID is null