UNPKG
node-updown
Version:
latest (1.0.2)
1.0.2
1.0.1
1.0.0
0.2.2
0.2.1
0.2.0
0.1.2
0.1.1
0.1.0
Transparent Node.JS wrapper for the updown.io API
github.com/woubuc/node-updown
woubuc/node-updown
node-updown
/
lib
/
api
/
getCheck.d.ts
9 lines
(8 loc)
•
285 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
import
{
Check
}
from
'../types/Check'
;
export
interface
GetCheckOptions
{
/** * Include performance metrics for the last hour */
metrics
?:
boolean
; }
export
declare
function
getCheck
(
apiKey
:
string
,
token
:
string
,
options
?:
GetCheckOptions
):
Promise
<
Check
>;