@fenderdigital/cookies

1.2.0 • Public • Published

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.

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @fenderdigital/cookies

    Weekly Downloads

    1

    Version

    1.2.0

    License

    UNLICENSED

    Unpacked Size

    4.7 kB

    Total Files

    7

    Last publish

    Collaborators

    • stevenhuynh
    • markv242
    • coopercodecomposer
    • sherbert
    • jcuanan
    • derduher
    • philipyun
    • theloopla
    • jemnon