Nebulous Plasma Muffin

    jar

    0.3.4 • Public • Published

    jar

    Simple cookie handling:

    cookieValue = jar.cookie('chocolateChip');
    jar.cookie('chocolateChip', 'new cookie value');
    

    It's also easy to set cookie options:

    jar.cookie('topSecret', 'this cookie will self-destruct in 5 days', { expires: 5 });
    

    Usage with Ender

    After you install Ender, include jar in your package:

    ender add jar
    

    This will namespace the package under the $ variable:

    $.cookie(...);
    

    Keywords

    none

    Install

    npm i jar

    DownloadsWeekly Downloads

    92

    Version

    0.3.4

    License

    none

    Last publish

    Collaborators

    • amccollum