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>

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.1.01latest

Version History

VersionDownloads (Last 7 Days)Published
2.1.01
2.0.01
1.5.11
1.5.01
1.4.01
1.3.01
1.2.01
1.1.01
1.0.01

Package Sidebar

Install

npm i api-poller

Weekly Downloads

9

Version

2.1.0

License

MIT

Last publish

Collaborators

  • ltetzlaff