0.5.2 • Published 4 years ago

dashgen v0.5.2

Weekly downloads
16
License
MIT
Repository
github
Last release
4 years ago

Dashgen

Simplistic static dashboard generator. Store your metrics in a generic JSON format, Dashgen will generate an HTML report out of them them!

Demo

Usage

JSON report structure

Have one or multiple files in this JSON format:

{
    "sourceName": "my source"
    "reports": [
        {
            "name": "my report 1",
            "metrics": {
                "key1": "value1",
                "key2": "value2",
                ...
            },
            "messages" :[
                "Something seemed slightly off with ..."
            ]
        },
        {
            "name": "my report 1",
            ...
    ]
}

Generate a dashgen report

  • npm install --global dashgen
  • dashgen <dataFolder> <targetFolder>
  • Open <targetFolder>/index.html

Development

How to build

How to publish

  • Test the package with npm run pack:dry and npm run pack
  • Test cli.js with npm link. Now you can execute dashgen. Unlink with npm unlink.
  • Release the package:
    • npm version [patch|minor|major]
    • npm release
0.5.2

4 years ago

0.5.1

4 years ago

0.5.0

4 years ago

0.4.0

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago