UNPKG
robert
Version:
latest (2.6.5)
2.6.5
2.6.4
2.6.3
2.6.2
2.6.1
2.6.0
2.5.3
2.5.2
2.5.1
2.5.0
2.2.0
2.1.9
2.1.8
2.1.7
2.1.6
2.1.5
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.8
2.0.7
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
2.0.0
1.2.2
1.2.1
1.2.0
1.1.9
1.1.8
1.1.7
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.0.9
1.0.8
1.0.7
1.0.6
A generic shitty http client in nod.js
github.com/Commandtechno/robert
Commandtechno/robert
robert
/
build
/
cjs
/
parse.d.ts
5 lines
(4 loc)
•
221 B
TypeScript
View Raw
1
2
3
4
5
/// <reference types="node" />
import
{
Formats
}
from
"."
;
import
{
IncomingMessage
}
from
"http"
;
export
default
function
(
res
:
IncomingMessage
,
format
:
Formats
,
maxSize
:
number
):
Promise
<
string
|
number
|
object
>;