npac

2.1.11 • Public • Published

npac

stable npm version Build Status Coveralls

npac is a lightweight Ports and Adapters Container for applications running on Node.js platform.

This module provides a framework for applications to:

  • clearly separate the infrastructure code from business domain code,
  • centrally manage configuration (defaults, environment, config file, cli),
  • make application life-cycle management (startup, shutdown, signal handling),
  • provide built-in, configurable logging and monitoring capabilities.

Read first the documentation to understand how it works.

Study the npac-example-cli example project, which demonstrates how to use npac to implement a simple command line utility.

See the API documentation and the unit tests for further details on how to use this library.

Installation

Run the install command:

npm install --save npac

Development

During the development to create the dist package, run either:

    npm run build

or use

    npm run test:watch

Update the documentation:

    npm run docs

Check the source code:

    npm run test
    npm run lint

Gain test coverage report:

    npm run coverage

References and further readings


This project was generated from the es6-module-archetype by the kickoff utility.

Readme

Keywords

none

Package Sidebar

Install

npm i npac

Weekly Downloads

13

Version

2.1.11

License

MIT

Unpacked Size

1.41 MB

Total Files

99

Last publish

Collaborators

  • tombenke