Skip to content

OTATA/webhooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webhooks reader

This script parse a log file, implemented in node.js

Dependencies

Node.js, and test libs: mockery and assert

Usage

It is simple to execute the script. Run the bellow command line:

node index.js fileName

result example

Url: https://eagerhaystack.com - Total: 750
Url: https://surrealostrich.com.br - Total: 734
Url: https://grimpottery.net.br - Total: 732
Status: 200 - Total: 1417
Status: 201 - Total: 1402
Status: 204 - Total: 1388
Status: 400 - Total: 1440
Status: 404 - Total: 1474
Status: 500 - Total: 1428
Status: 503 - Total: 1451

Documentation

The unit tests is the script documentation :D

About

webhooks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published