@mia-platform/lc39
TypeScript icon, indicating that this package has built-in type declarations

7.1.0 • Public • Published

Launch Complex 39

Node.js CI javascript style guide
Coverage Status NPM version

The Mia-Platform Node.js service launcher

lc39 is a Command line utility that will launch a Fastify instance configured for serving a Node.js service on Mia-Platform.

Getting Started

Install

To install the package you can run:

npm install @mia-platform/lc39 --save

It is possible to install the next version of the package, which use fastify v3. The version is a release candidate, so it is not yet a stable version and should not be used in production environments (next updates could be breaking). To try it, you can run:

npm install @mia-platform/lc39@next --save

We recommend to install the module locally on every one of your project to be able to update them indipendently one from the other. To use the locally installed instance you have to add the following script to your package.json:

"scripts": {
  "start": "lc39 index.js"
},

To see all the options you can add to the cli run:

npx lc39 --help

Now you are ready to code your mia-platform service!

Documentation

To work properly with lc39 your service main file should follow some rules:

Readme

Keywords

Package Sidebar

Install

npm i @mia-platform/lc39

Weekly Downloads

2,395

Version

7.1.0

License

Apache-2.0

Unpacked Size

70.7 kB

Total Files

23

Last publish

Collaborators

  • jgiola
  • davidebianchi
  • fredmaggiowski
  • bottarga