Home

Awesome

kktix-event-listener

NPM version Build Status Test coverage Dependency Status

My module

Install

$ npm install kktix-event-listener

Usage

var kktixEventListener = require('kktix-event-listener');

kktixEventListener('http://reactjs.kktix.cc/events/react9');
//=>

CLI

$ npm install -g kktix-event-listener
$ kktix-event-listener --help

  Usage
    kktix-event-listener [url]

  Example
    kktix-event-listener http://reactjs.kktix.cc/events/react9

  Options
    --duration -d  Polling duration. Default: 10000

API

kktixEventListener(url, [duration])

url

Required Type: string

Polling url.

duration

Type: number Default: 10000

Polling duration.

License

MIT © C.T. Lin