UNPKG
fetch-to-curl-ts
Version:
latest (1.0.2)
1.0.2
1.0.1
1.0.0
Convert fetch HTTP request to curl
github.com/cdaringe/fetch-to-curl-ts
cdaringe/fetch-to-curl-ts
fetch-to-curl-ts
/
dist
/
method.d.ts
11 lines
(10 loc)
•
230 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
export
declare
const
HTTP_METHODS
: {
GET
:
string
;
POST
:
string
;
PUT
:
string
;
PATCH
:
string
;
DELETE
:
string
;
HEAD
:
string
;
OPTIONS
:
string
; };
export
declare
const
getMethod
:
(
method
:
string
) =>
string
;