*nix Programming Mammals

    jetronome-client

    0.1.4 • Public • Published

    jetronome-client

    npm version

    Jetronome Client is the simplest application status checker.

    Features

    • Creating periodic signal

    Install

    $ npm i --save jetronome-client

    Usage

    Starting at initialize

    require('./jetronome-client').init({
        name: 'Dummy App', // Application Name (required)
        description: 'This is a test application.', // Description (required)
        server: 'http://localhost', // Jetronome Server (required)
        port: 7828, // Jetronome Server Port (optional) (default: 7828)
        interval: 3000, // Signal Interval (optional) (default: 3000)
        testApi: 'http://localhost/api/test', // App Test API (optional)
        autoStart: true,
    });

    Starting after initialize

    const jetronome = require('./jetronome-client');
    jetronome.init({
        name: 'Dummy App', // Application Name (required)
        description: 'This is a test application.', // Description (required)
        server: 'http://localhost', // Jetronome Server (required)
        port: 7828, // Jetronome Server Port (optional) (default: 7828)
        interval: 3000, // Signal Interval (optional) (default: 3000)
        testApi: 'http://localhost/api/test', // App Test API (optional)
    });
     
    setTimeout(() => {
        jetronome.start();
    }, 5000);

    Server App

    This app works in pairs with Jetronome Server.

    Keywords

    none

    Install

    npm i jetronome-client

    DownloadsWeekly Downloads

    7

    Version

    0.1.4

    License

    MIT

    Unpacked Size

    8.38 kB

    Total Files

    6

    Last publish

    Collaborators

    • jeta_kor