api-poller
TypeScript icon, indicating that this package has built-in type declarations

2.1.0 • Public • Published

API Poller

Longpoll an API and log responses to disk

Setup

npm install
npm run buildOnce

for continous builds use

npm run build

Configuration

Create a config.json according to following scheme:

{
  "host": "",
  "port": 0,
  "paths": [
    "/a", "/b"
  ],
  "resultsFolder": ""
}

Run

npm run start <path to config.json> <duration in seconds>

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i api-poller

    Weekly Downloads

    0

    Version

    2.1.0

    License

    MIT

    Last publish

    Collaborators

    • ltetzlaff