@fenderdigital/cookies
v1.2.0
Published
Fender JS Utilities cookies Module
Downloads
6
Readme
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.