0.0.8 • Published 8 years ago

cycle-status v0.0.8

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

Request-Response Cycle Status

cycle-status is a request-response cycle status monitor. It prints out basic information about each cycle to the standard output.

GET     /api        0.122 ms        200     OK

Also, cycle-status module depends on only one module: on-headers.

Usage

Get it on npm: npm install cycle-status and use it.

const cstatus = require(`cycle-status`);

app.use(cstatus());

Anatomy

Request Information              |   Response Information
                                 |
GET        /users/?id=99fw9euh   |   0.349 ms         200     OK
~~~~~~     ~~~~~~~~~~~~~~~~~~~   |   ~~~~~~~~~~~~~    ~~~~    ~~~~~~~
                                 |
method     original URL          |   response time    code    message

Features

  • GET support
  • POST limited support

Rest is planned.

TODO

  • Add better support for POST verb
  • Add support of rest of the HTTP verbs
0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago