1.2.0 • Published 5 years ago

@fenderdigital/cookies v1.2.0

Weekly downloads
1
License
UNLICENSED
Repository
-
Last release
5 years ago

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
paramNameparamTypedefaultValue
paramNamestringnull

Development

Check the Monorepo README for development documentation.