UNPKG
cea-core
Version:
cjs (1.0.0)
latest (2.2.1)
2.2.1
2.2.0
2.1.0
2.0.1
2.0.0
1.0.0
0.5.1
0.5.0
0.4.0
0.3.2
0.3.1
0.3.0
0.2.2
0.2.1
0.2.0
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
0.0.1
basic cea api
github.com/ceajs/cea
ceajs/cea
cea-core
/
lib
/
src
/
utils
/
cookie-helper.d.ts
5 lines
(4 loc)
•
251 B
TypeScript
View Raw
1
2
3
4
5
import
{
Headers
}
from
'node-fetch'
;
import
type
{
CookieMap
}
from
'../types/cookie'
;
export
declare
function
cookieParse
(
host
:
string
,
headers
:
Headers
):
CookieMap
;
export
declare
function
cookieStr
(
host
:
string
,
cookieMap
:
CookieMap
):
string
;