0.2.22 • Published 6 years ago

hyperkiosk v0.2.22

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

hyperkiosk

npm version Build Status Coverage Status Downloads License

Hyperkiosk - easily create dashboard web apps. Please see hyperkiosk-demo for a demo project using hyperkiosk.

Installation

You can install hyperkiosk globally with npm i -g hyperkiosk, but preferred way is like in the demo locally: npm i --save hyperkiosk

Usage

Usage: hyperkiosk [options]

Options:
  --version      Show version number                              [boolean]
  --port, -p     Set the server HTTP port          [number] [default: 3000]
  --config, -c   Set config file path                    [string] [default:
  "$PWD/hyperkiosk.js"
                                                                          ]
  --verbose, -v  Increase verbosity                                 [count]
  --help, -h     Show help                                        [boolean]

Development

You need a hyperkiosk config file, see hyperkiosk-demo

API

  • hyperkiosk(id: string): Creates a dashboard with the given id.
    • gen(id: string, emitter: Function, interval: number): Creates a widget with the given id, an emitter function, which is called at the given interval.
    • get(id: string, url: string, interval: number, requestConfig: Object): Creates a widget with the given id, an URL, which is called with requestConfig at the given interval.
    • push(id: string, value: any): Creates a widget with the given id and an value, subsequent calls with same id update the value

License

The MIT License

0.2.22

6 years ago

0.2.21

6 years ago

0.2.20

6 years ago

0.2.19

6 years ago

0.2.18

6 years ago

0.2.17

6 years ago

0.2.16

6 years ago

0.2.15

6 years ago

0.2.14

6 years ago

0.2.13

6 years ago

0.2.12

6 years ago

0.2.11

6 years ago

0.2.10

6 years ago

0.2.9

6 years ago

0.2.8

6 years ago

0.2.7

6 years ago

0.2.6

6 years ago