@robinpath/uptime
v0.1.1
Published
Uptime module for RobinPath.
Downloads
134
Readme
@robinpath/uptime
Uptime module for RobinPath.
Why use this module?
The uptime module lets you:
- checkHttp
- checkHttps
- checkTcp
- checkDns
- checkSslCertificate
All functions are callable directly from RobinPath scripts with a simple, consistent API.
Installation
npm install @robinpath/uptimeQuick Start
No credentials needed — start using it right away:
uptime.checkHttpsAvailable Functions
| Function | Description |
|----------|-------------|
| uptime.checkHttp | checkHttp |
| uptime.checkHttps | checkHttps |
| uptime.checkTcp | checkTcp |
| uptime.checkDns | checkDns |
| uptime.checkSslCertificate | checkSslCertificate |
| uptime.batchCheck | batchCheck |
| uptime.getResponseTime | getResponseTime |
| uptime.checkContentMatch | checkContentMatch |
| uptime.checkRedirect | checkRedirect |
| uptime.getHeaders | getHeaders |
| uptime.checkPort | checkPort |
| uptime.formatReport | formatReport |
| uptime.comparePerformance | comparePerformance |
| uptime.checkHealth | checkHealth |
Examples
checkHttps
uptime.checkHttpscheckTcp
uptime.checkTcpcheckDns
uptime.checkDnsIntegration with RobinPath
import { RobinPath } from "@wiredwp/robinpath";
import Module from "@robinpath/uptime";
const rp = new RobinPath();
rp.registerModule(Module.name, Module.functions);
rp.registerModuleMeta(Module.name, Module.functionMetadata);
const result = await rp.executeScript(`
uptime.checkHttps
`);Full API Reference
See MODULE.md for complete documentation including all parameters, return types, error handling, and advanced examples.
Related Modules
@robinpath/docker— Docker module for complementary functionality@robinpath/git— Git module for complementary functionality@robinpath/github— GitHub module for complementary functionality@robinpath/gitlab— GitLab module for complementary functionality@robinpath/vercel— Vercel module for complementary functionality
License
MIT
