Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/cookies / src / index.ts
Size: Mime:
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,
}