Repository URL to install this package:
|
Version:
4.0.5 ▾
|
import {
isValidDate,
autofix,
toUnsecureSecureCookie,
fromArrayToCookieString,
setCookieOnDocument,
attemptToDecodeURIComponent,
} from './deps'
import {
fromCookieStringToPairs,
toSafeKeyValue,
// get set has entries keys values
get,
set,
has,
clear,
entries,
toKeys,
toValues,
// rest
fromNameToCookieString,
fromStringToCache,
generateCookieString,
toOptionsWithDefaults,
getExpiresDate,
expire,
renewCache,
isEnabled,
// fromStringToCache as getCacheFromString,
} from './core/index'
import { config, cookieDefaults } from './config'
export {
toSafeKeyValue,
fromStringToCache,
toOptionsWithDefaults,
entries,
has,
set,
get,
clear,
toValues,
toKeys,
expire,
cookieDefaults,
config,
attemptToDecodeURIComponent,
autofix,
isValidDate,
toUnsecureSecureCookie,
setCookieOnDocument,
fromArrayToCookieString,
generateCookieString,
getExpiresDate,
fromNameToCookieString,
// getCacheFromString,
fromCookieStringToPairs,
renewCache,
isEnabled,
// areEnabled as areEnabled,
}