项目作者: riteshkukreja

项目描述 :
Architecture generator for Node JavaScript applications
高级语言: JavaScript
项目地址: git://github.com/riteshkukreja/arch-js.git
创建时间: 2018-08-05T05:43:20Z
项目社区:https://github.com/riteshkukreja/arch-js

开源协议:MIT License

下载


Architecture Generator

It generates Node app module architecture in PNG format. Module architecture is a graph of how your node modules interacts with each other. It enables you to conform to the best practices of having less cohesion between your modules.

Installation

Install using npm

  1. npm install node-architecture -g

Usage

  1. $ arch-js --help
  2. Usage: arch-js [options]
  3. Options:
  4. -O, --out <path> Output path of generated image (default: /home)
  5. -S, --src <path> Root path of source application (default: /home)
  6. -W, --width <n> Width of generated image
  7. -H, --height <n> Height of generated image
  8. --dfd <n> DFD level
  9. --watermark [text] Add custom watermark
  10. --background <text> Add custom background (default: transparent)
  11. -h, --help output usage information

Dependencies

This project depends on canvas package which requires libcairo2-dev libjpeg-dev libpango1.0-dev libgif-dev build-essential g++. For windows, you would need .NET Framework installed. Dockerfile is provided with the project if you want to use the package with a docker container.

Project Architecture

Project Architecture