UNPKG

@web3r/flowerkit

Version:

A collection of more than 60 often used utility JS functions that simplify frontend development.

13 lines 452 B
/** * Gets the Cookie value * @param name{String} - name of Cookie * @return {string|undefined} * @see https://developer.mozilla.org/en-US/docs/Web/API/Document/cookie * @example * // How to get value of Cookie? * setCookie("myCookieName", "myValue"); * const savedValue = getCookie("myCookieName"); * console.log(savedValue); // => "myValue" */ export function getCookie(name: string): string | undefined; //# sourceMappingURL=index.d.ts.map