Socket
Book a DemoInstallSign in
Socket

micro-cli

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

micro-cli

The command line utility for managing [micro]services

latest
Source
npmnpm
Version
5.0.1
Version published
Maintainers
2
Created
Source

Micro CLI — The command line utility for managing [micro]services

Build Status npm version Slack

Usage


  Usage: micro [options] [command]

  Commands:

    help  Display help

  Options:

    -h, --help          Output usage information
    -H, --host [value]  Host to listen on
    -n, --no-babel      Skip Babel transformation
    -p, --port <n>      Port to listen on
    -v, --version       Output the version number

By default, micro will transpile the target file and its relative dependencies so that async/await and ES6 work for you.

For production, we recommend you first transpile and use --no-babel to make bootup time much faster. That said, if you don't care about how long it takes to boot, the default flags are perfectly suitable for production.

Read more about Transpilation to understand what transformations are recommended.

Main package

You can find the core of the "micro" package system here.

Contribute

  • Fork this repository to your own GitHub account and then clone it to your local device
  • Uninstall now-serve if it's already installed: npm uninstall -g micro
  • Link it to the global module directory: npm link
  • Transpile the source code and watch for changes: npm start

Credits

  • Copyright © 2016 Zeit, Inc and project authors.
  • Licensed under MIT.

FAQs

Package last updated on 08 Aug 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts