package
This command line interface provides a belt full of tools that make building microservices using [micro](https://github.com/vercel/micro) a breeze! It's only meant to be used in development, **not in production** (that's where [micro](https://github.com/v
npm install micro-devGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
This command line interface provides a belt full of tools that make building microservices using micro a breeze! It's only meant to be used in development, not in production (that's where micro comes in).
stdoutError object if any exceptions are thrownImportant: This tool is only meant to be used in development. In production, you should use micro, which is much lighter and faster (and also comes without the belt of tools used when developing microservices).
When preparing your development environment, firstly install micro-dev:
npm install --save-dev micro-devNote: You'll need at least Node.js v7.6.0 to run micro-dev.
Next, add a new script property below micro inside package.json:
"scripts": {
"start": "micro",
"dev": "micro-dev"
}As the final step, start the development server like this:
npm run devThe package can be used in conjunction with the Node.js inspector like this:
"scripts": {
"inspect": "node --inspect node_modules/.bin/micro-dev"
}As the final step, start the development server like this:
npm run inspectcd micro-devnpm linkInside the project where you want to test your clone of the package, you can now either use npm link micro-dev to link the cloned source to your project's local dependencies or run micro-dev right in your terminal.
Estimated unpacked size across 61 packages.
5.1 MB
Includes dependencies.
6.0.0
1.1.0
4.0.0
3.2.0
7.2.0
1.2.3
5.3.2
4.0.0
4.0.0
2.0.0
7.0.1