cookies
module for Fender JS Utilities
Installation and Usage
yarn add @fenderdigital/cookies --save
import cookies from '@fenderdigital/cookies';
List of functions in module
getCountryCode
myFunctionName
Description
Returns the value from the country_code
cookie and sets the default to 'US'.
This method was ported from the existing getCountry
method in cookie.js
Function parameters
-
paramName
- function has no parameters
paramName | paramType | defaultValue |
---|---|---|
paramName | string | null |
Development
Check the Monorepo README for development documentation.