1.2.0 • Published 7 years ago
@fenderdigital/cookies v1.2.0
cookies module for Fender JS Utilities
Installation and Usage
yarn add @fenderdigital/cookies --saveimport 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.