spmjs

spm@3.x

Brand new static package manager for browser.

Getting Started 󰅴 Packages

cookiejar @2.0.1


simple persistent cookiejar system

spm install cookiejar@2.0.1

Version: 2.0.1 ~ stable

Updated 10 years ago
Homepage https://github.com/bmeck/node-cookiejar
Repository https://github.com/bmeck/node-cookiejar.git
Main cookiejar.js
Tarfile cookiejar-2.0.1.tar.gz

CookieJar

Simple robust cookie library

Exports

CookieAccessInfo(domain,path,secure,script)

class to determine matching qualities of a cookie
Properties
turns input into a Cookie (singleton if given a Cookie)
the `request_domain` argument is used to default the domain if it is not explicit in the cookie string 
the `request_path` argument is used to set the path if it is not explicit in a cookie String.

explicit domains/paths will cascade, implied domains/paths must *exactly* match (see http://en.wikipedia.org/wiki/HTTP_cookie#Domain_and_Pat)
Properties
Methods

CookieJar()

class to hold numerous cookies from multiple domains correctly
Methods