Nostalgic Primordial Monster

    @f/cookies-enabled

    1.1.1 • Public • Published

    cookies-enabled

    Build status Git tag NPM version Code style

    Check whether or not cookies are enabled

    Installation

    $ npm install @f/cookies-enabled
    

    Usage

    var cookiesEnabled = require('@f/cookies-enabled')
     
    if (!cookiesEnabled()) {
      alert('Please enable cookies before using this website!')
    }
     

    API

    cookiesEnabled()

    Returns: Boolean indicating whether or not cookies are currently enabled in the user's browser.

    License

    MIT

    Keywords

    none

    Install

    npm i @f/cookies-enabled

    DownloadsWeekly Downloads

    43

    Version

    1.1.1

    License

    MIT

    Last publish

    Collaborators

    • f