Skip to content

nqnghia285/handle-cookie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Handle Cookie Build Status

Functions:

/**
 * @method cookieParse: Parse string to cookie objiect
 * @param str string | undefined
 * @param option CookieParseOptions | undefined
 * @returns { [key: string]: string } | undefined
 */
function cookieParse(str: string | undefined, option?: CookieParseOptions | undefined): { [key: string]: string } | undefined;
/**
 * @method cookieSerialize: Convert object to cookie string
 * @param name string
 * @param value string | undefined
 * @param option CookieSerializeOptions | undefined
 * @returns string | undefined
 */
function cookieSerialize(name: string | undefined, value: string | undefined, option?: CookieSerializeOptions | undefined): string | undefined;

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published