UNPKG

baobao_with_papa

Version:

baobao_is_my_favorite_shero

1 lines 57.8 kB
{"_id":"tough-cookie","_rev":"60-dd1d85f663b3d4e6b70162bf7347ecee","name":"tough-cookie","description":"RFC6265 Cookies and Cookie Jar for node.js","dist-tags":{"latest":"2.2.1"},"versions":{"0.9.0":{"author":{"name":"Jeremy Stashewsky","email":"jeremy@goinstant.com","url":"https://github.com/stash"},"name":"tough-cookie","description":"RFC6265 Cookies and Cookie Jar for node.js","keywords":["HTTP cookie cookies set-cookie cookiejar jar RFC6265 RFC2965"],"version":"0.9.0","homepage":"https://github.com/goinstant/node-cookie","repository":{"type":"git","url":"git://github.com/goinstant/node-cookie.git"},"bugs":{"url":"https://github.com/goinstant/node-cookie/issues"},"main":"./lib/cookie","scripts":{"test":"vows test.js"},"engines":{"node":">=0.4.12"},"dependencies":{"punycode":"https://github.com/goinstant/Node-PunyCode/tarball/master"},"devDependencies":{"vows":">=0.5.11","async":">=0.1.12"},"_npmUser":{"name":"jstash","email":"jeremy@goinstant.com"},"_id":"tough-cookie@0.9.0","_engineSupported":true,"_npmVersion":"1.0.100","_nodeVersion":"v0.4.13-pre","_defaultsLoaded":true,"dist":{"shasum":"b09b191982dcd7b0cccd78e176c2d6842810c9c5","tarball":"http://registry.npmjs.org/tough-cookie/-/tough-cookie-0.9.0.tgz"},"maintainers":[{"name":"jstash","email":"jeremy@goinstant.com"}],"directories":{}},"0.9.1":{"author":{"name":"Jeremy Stashewsky","email":"jeremy@goinstant.com","url":"https://github.com/stash"},"name":"tough-cookie","description":"RFC6265 Cookies and Cookie Jar for node.js","keywords":["HTTP cookie cookies set-cookie cookiejar jar RFC6265 RFC2965"],"version":"0.9.1","homepage":"https://github.com/goinstant/node-cookie","repository":{"type":"git","url":"git://github.com/goinstant/node-cookie.git"},"bugs":{"url":"https://github.com/goinstant/node-cookie/issues"},"main":"./lib/cookie","scripts":{"test":"vows test.js"},"engines":{"node":">=0.4.12"},"dependencies":{"punycode":"https://github.com/goinstant/Node-PunyCode/tarball/master"},"devDependencies":{"vows":">=0.5.11","async":">=0.1.12"},"_npmUser":{"name":"jstash","email":"jeremy@goinstant.com"},"_id":"tough-cookie@0.9.1","_engineSupported":true,"_npmVersion":"1.0.100","_nodeVersion":"v0.4.13-pre","_defaultsLoaded":true,"dist":{"shasum":"0f882fcc572567283eef639b0ba1c1a4785c72fe","tarball":"http://registry.npmjs.org/tough-cookie/-/tough-cookie-0.9.1.tgz"},"maintainers":[{"name":"jstash","email":"jeremy@goinstant.com"}],"directories":{}},"0.9.3":{"author":{"name":"Jeremy Stashewsky","email":"jeremy@goinstant.com","url":"https://github.com/stash"},"name":"tough-cookie","description":"RFC6265 Cookies and Cookie Jar for node.js","keywords":["HTTP cookie cookies set-cookie cookiejar jar RFC6265 RFC2965"],"version":"0.9.3","homepage":"https://github.com/goinstant/node-cookie","repository":{"type":"git","url":"git://github.com/goinstant/node-cookie.git"},"bugs":{"url":"https://github.com/goinstant/node-cookie/issues"},"main":"./lib/cookie","scripts":{"test":"vows test.js"},"engines":{"node":">=0.4.12"},"dependencies":{"punycode":"https://github.com/goinstant/Node-PunyCode/tarball/master"},"devDependencies":{"vows":">=0.5.11","async":">=0.1.12"},"_npmUser":{"name":"jstash","email":"jeremy@goinstant.com"},"_id":"tough-cookie@0.9.3","_engineSupported":true,"_npmVersion":"1.0.100","_nodeVersion":"v0.4.13-pre","_defaultsLoaded":true,"dist":{"shasum":"57017d596dbf03e4c7c79cf2f8c01fc69e9b70b1","tarball":"http://registry.npmjs.org/tough-cookie/-/tough-cookie-0.9.3.tgz"},"maintainers":[{"name":"jstash","email":"jeremy@goinstant.com"}],"directories":{}},"0.9.4":{"author":{"name":"Jeremy Stashewsky","email":"jeremy@goinstant.com","url":"https://github.com/stash"},"name":"tough-cookie","description":"RFC6265 Cookies and Cookie Jar for node.js","keywords":["HTTP cookie cookies set-cookie cookiejar jar RFC6265 RFC2965"],"version":"0.9.4","homepage":"https://github.com/goinstant/node-cookie","repository":{"type":"git","url":"git://github.com/goinstant/node-cookie.git"},"bugs":{"url":"https://github.com/goinstant/node-cookie/issues"},"main":"./lib/cookie","scripts":{"test":"vows test.js"},"engines":{"node":">=0.4.12"},"dependencies":{"punycode":"https://github.com/goinstant/Node-PunyCode/tarball/master"},"devDependencies":{"vows":">=0.5.11","async":">=0.1.12"},"_npmUser":{"name":"jstash","email":"jeremy@goinstant.com"},"_id":"tough-cookie@0.9.4","_engineSupported":true,"_npmVersion":"1.0.100","_nodeVersion":"v0.4.13-pre","_defaultsLoaded":true,"dist":{"shasum":"e8a768ccb452dd3a9b8b844fe3a2ab2d319f0315","tarball":"http://registry.npmjs.org/tough-cookie/-/tough-cookie-0.9.4.tgz"},"maintainers":[{"name":"jstash","email":"jeremy@goinstant.com"}],"directories":{}},"0.9.5":{"author":{"name":"Jeremy Stashewsky","email":"jeremy@goinstant.com","url":"https://github.com/stash"},"name":"tough-cookie","description":"RFC6265 Cookies and Cookie Jar for node.js","keywords":["HTTP cookie cookies set-cookie cookiejar jar RFC6265 RFC2965"],"version":"0.9.5","homepage":"https://github.com/goinstant/node-cookie","repository":{"type":"git","url":"git://github.com/goinstant/node-cookie.git"},"bugs":{"url":"https://github.com/goinstant/node-cookie/issues"},"main":"./lib/cookie","scripts":{"test":"vows test.js"},"engines":{"node":">=0.4.12"},"dependencies":{"punycode":">=0.2.0"},"devDependencies":{"vows":">=0.5.11","async":">=0.1.12"},"_npmUser":{"name":"jstash","email":"jeremy@goinstant.com"},"_id":"tough-cookie@0.9.5","_engineSupported":true,"_npmVersion":"1.0.100","_nodeVersion":"v0.4.13-pre","_defaultsLoaded":true,"dist":{"shasum":"a189208232ec5ee8b94f2578769b21155ab9b131","tarball":"http://registry.npmjs.org/tough-cookie/-/tough-cookie-0.9.5.tgz"},"maintainers":[{"name":"jstash","email":"jeremy@goinstant.com"}],"directories":{}},"0.9.6":{"author":{"name":"Jeremy Stashewsky","email":"jeremy@goinstant.com","url":"https://github.com/stash"},"name":"tough-cookie","description":"RFC6265 Cookies and Cookie Jar for node.js","keywords":["HTTP cookie cookies set-cookie cookiejar jar RFC6265 RFC2965"],"version":"0.9.6","homepage":"https://github.com/goinstant/node-cookie","repository":{"type":"git","url":"git://github.com/goinstant/node-cookie.git"},"bugs":{"url":"https://github.com/goinstant/node-cookie/issues"},"main":"./lib/cookie","scripts":{"test":"vows test.js"},"engines":{"node":">=0.4.12"},"dependencies":{"punycode":">=0.2.0"},"devDependencies":{"vows":">=0.5.11","async":">=0.1.12"},"_npmUser":{"name":"jstash","email":"jeremy@goinstant.com"},"_id":"tough-cookie@0.9.6","_engineSupported":true,"_npmVersion":"1.0.100","_nodeVersion":"v0.4.13-pre","_defaultsLoaded":true,"dist":{"shasum":"c63b55e3862676e5d394a9f102f7dd599539af15","tarball":"http://registry.npmjs.org/tough-cookie/-/tough-cookie-0.9.6.tgz"},"maintainers":[{"name":"jstash","email":"jeremy@goinstant.com"}],"directories":{}},"0.9.7":{"author":{"name":"Jeremy Stashewsky","email":"jeremy@goinstant.com","url":"https://github.com/stash"},"name":"tough-cookie","description":"RFC6265 Cookies and Cookie Jar for node.js","keywords":["HTTP cookie cookies set-cookie cookiejar jar RFC6265 RFC2965"],"version":"0.9.7","homepage":"https://github.com/goinstant/node-cookie","repository":{"type":"git","url":"git://github.com/goinstant/node-cookie.git"},"bugs":{"url":"https://github.com/goinstant/node-cookie/issues"},"main":"./lib/cookie","scripts":{"test":"vows test.js"},"engines":{"node":">=0.4.12"},"dependencies":{"punycode":">=0.2.0"},"devDependencies":{"vows":">=0.6.0","async":">=0.1.12"},"_npmUser":{"name":"jstash","email":"jeremy@goinstant.com"},"_id":"tough-cookie@0.9.7","_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.6.3","_defaultsLoaded":true,"dist":{"shasum":"ea037e175d326574b0afb196d658672c7912bd45","tarball":"http://registry.npmjs.org/tough-cookie/-/tough-cookie-0.9.7.tgz"},"maintainers":[{"name":"jstash","email":"jeremy@goinstant.com"}],"directories":{}},"0.9.8":{"author":{"name":"Jeremy Stashewsky","email":"jeremy@goinstant.com","url":"https://github.com/stash"},"name":"tough-cookie","description":"RFC6265 Cookies and Cookie Jar for node.js","keywords":["HTTP cookie cookies set-cookie cookiejar jar RFC6265 RFC2965"],"version":"0.9.8","homepage":"https://github.com/goinstant/node-cookie","repository":{"type":"git","url":"git://github.com/goinstant/node-cookie.git"},"bugs":{"url":"https://github.com/goinstant/node-cookie/issues"},"main":"./lib/cookie","scripts":{"test":"vows test.js"},"engines":{"node":">=0.4.12"},"dependencies":{"punycode":">=0.2.0"},"devDependencies":{"vows":">=0.6.0","async":">=0.1.12"},"_npmUser":{"name":"jstash","email":"jeremy@goinstant.com"},"_id":"tough-cookie@0.9.8","_engineSupported":true,"_npmVersion":"1.0.106","_nodeVersion":"v0.6.6-pre","_defaultsLoaded":true,"dist":{"shasum":"435991f917d7aa2d1e9e1ed93484f19a430bfd15","tarball":"http://registry.npmjs.org/tough-cookie/-/tough-cookie-0.9.8.tgz"},"maintainers":[{"name":"jstash","email":"jeremy@goinstant.com"}],"directories":{}},"0.9.9":{"author":{"name":"Jeremy Stashewsky","email":"jeremy@goinstant.com","url":"https://github.com/stash"},"name":"tough-cookie","description":"RFC6265 Cookies and Cookie Jar for node.js","keywords":["HTTP cookie cookies set-cookie cookiejar jar RFC6265 RFC2965"],"version":"0.9.9","homepage":"https://github.com/goinstant/node-cookie","repository":{"type":"git","url":"git://github.com/goinstant/node-cookie.git"},"bugs":{"url":"https://github.com/goinstant/node-cookie/issues"},"main":"./lib/cookie","scripts":{"test":"vows test.js"},"engines":{"node":">=0.4.12"},"dependencies":{"punycode":">=0.2.0"},"devDependencies":{"vows":">=0.6.0","async":">=0.1.12"},"_npmUser":{"name":"jstash","email":"jeremy@goinstant.com"},"_id":"tough-cookie@0.9.9","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.12","_nodeVersion":"v0.6.14","_defaultsLoaded":true,"dist":{"shasum":"e62bc00ee4bef4dfba957dd7177218d0327ef595","tarball":"http://registry.npmjs.org/tough-cookie/-/tough-cookie-0.9.9.tgz"},"maintainers":[{"name":"jstash","email":"jeremy@goinstant.com"}],"directories":{}},"0.9.11":{"author":{"name":"Jeremy Stashewsky","email":"jeremy@goinstant.com","url":"https://github.com/stash"},"name":"tough-cookie","description":"RFC6265 Cookies and Cookie Jar for node.js","keywords":["HTTP cookie cookies set-cookie cookiejar jar RFC6265 RFC2965"],"version":"0.9.11","homepage":"https://github.com/goinstant/node-cookie","repository":{"type":"git","url":"git://github.com/goinstant/node-cookie.git"},"bugs":{"url":"https://github.com/goinstant/node-cookie/issues"},"main":"./lib/cookie","scripts":{"test":"vows test.js"},"engines":{"node":">=0.4.12"},"dependencies":{"punycode":">=0.2.0"},"devDependencies":{"vows":">=0.6.0","async":">=0.1.12"},"_npmUser":{"name":"jstash","email":"jeremy@goinstant.com"},"_id":"tough-cookie@0.9.11","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.12","_nodeVersion":"v0.6.14","_defaultsLoaded":true,"dist":{"shasum":"6f45ee9f494967cbfcdeb97efa5174e1be9b87bb","tarball":"http://registry.npmjs.org/tough-cookie/-/tough-cookie-0.9.11.tgz"},"maintainers":[{"name":"jstash","email":"jeremy@goinstant.com"}],"directories":{}},"0.9.12":{"author":{"name":"Jeremy Stashewsky","email":"jeremy@goinstant.com","url":"https://github.com/stash"},"name":"tough-cookie","description":"RFC6265 Cookies and Cookie Jar for node.js","keywords":["HTTP cookie cookies set-cookie cookiejar jar RFC6265 RFC2965"],"version":"0.9.12","homepage":"https://github.com/goinstant/node-cookie","repository":{"type":"git","url":"git://github.com/goinstant/node-cookie.git"},"bugs":{"url":"https://github.com/goinstant/node-cookie/issues"},"main":"./lib/cookie","scripts":{"test":"vows test.js"},"engines":{"node":">=0.4.12"},"dependencies":{"punycode":">=0.2.0"},"devDependencies":{"vows":">=0.6.0","async":">=0.1.12"},"_npmUser":{"name":"jstash","email":"jeremy@goinstant.com"},"_id":"tough-cookie@0.9.12","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.12","_nodeVersion":"v0.6.14","_defaultsLoaded":true,"dist":{"shasum":"9dec1931bb8bb6c46252ed2c9ed8ca00abe11546","tarball":"http://registry.npmjs.org/tough-cookie/-/tough-cookie-0.9.12.tgz"},"maintainers":[{"name":"jstash","email":"jeremy@goinstant.com"}],"directories":{}},"0.9.13":{"author":{"name":"Jeremy Stashewsky","email":"jeremy@goinstant.com","url":"https://github.com/stash"},"name":"tough-cookie","description":"RFC6265 Cookies and Cookie Jar for node.js","keywords":["HTTP cookie cookies set-cookie cookiejar jar RFC6265 RFC2965"],"version":"0.9.13","homepage":"https://github.com/goinstant/node-cookie","repository":{"type":"git","url":"git://github.com/goinstant/node-cookie.git"},"bugs":{"url":"https://github.com/goinstant/node-cookie/issues"},"main":"./lib/cookie","scripts":{"test":"vows test.js"},"engines":{"node":">=0.4.12"},"dependencies":{"punycode":">=0.2.0"},"devDependencies":{"vows":">=0.6.0","async":">=0.1.12"},"_npmUser":{"name":"jstash","email":"jeremy@goinstant.com"},"_id":"tough-cookie@0.9.13","optionalDependencies":{},"_engineSupported":true,"_npmVersion":"1.1.12","_nodeVersion":"v0.6.14","_defaultsLoaded":true,"dist":{"shasum":"8b3b0e536d8b1ee350aa53fca99273d03af50a56","tarball":"http://registry.npmjs.org/tough-cookie/-/tough-cookie-0.9.13.tgz"},"maintainers":[{"name":"jstash","email":"jeremy@goinstant.com"}],"directories":{}},"0.9.14":{"author":{"name":"Jeremy Stashewsky","email":"jeremy@goinstant.com","url":"https://github.com/stash"},"name":"tough-cookie","description":"RFC6265 Cookies and Cookie Jar for node.js","keywords":"HTTP cookie cookies set-cookie cookiejar jar RFC6265 RFC2965","version":"0.9.14","homepage":"https://github.com/goinstant/node-cookie","repository":{"type":"git","url":"git://github.com/goinstant/node-cookie.git"},"bugs":{"url":"https://github.com/goinstant/node-cookie/issues"},"main":"./lib/cookie","scripts":{"test":"vows test.js"},"engines":{"node":">=0.4.12"},"dependencies":{"punycode":">=0.2.0"},"devDependencies":{"vows":">=0.6.0","async":">=0.1.12"},"_id":"tough-cookie@0.9.14","dist":{"shasum":"fb2276385802fda1b3d25c083dcac93f2057d35f","tarball":"http://registry.npmjs.org/tough-cookie/-/tough-cookie-0.9.14.tgz"},"_npmVersion":"1.1.61","_npmUser":{"name":"jstash","email":"jeremy@goinstant.com"},"maintainers":[{"name":"jstash","email":"jeremy@goinstant.com"}],"directories":{}},"0.9.15":{"author":{"name":"Jeremy Stashewsky","email":"jeremy@goinstant.com","url":"https://github.com/stash"},"name":"tough-cookie","description":"RFC6265 Cookies and Cookie Jar for node.js","keywords":["HTTP","cookie","cookies","set-cookie","cookiejar","jar","RFC6265","RFC2965"],"version":"0.9.15","homepage":"https://github.com/goinstant/node-cookie","repository":{"type":"git","url":"git://github.com/goinstant/node-cookie.git"},"bugs":{"url":"https://github.com/goinstant/node-cookie/issues"},"main":"./lib/cookie","scripts":{"test":"vows test.js"},"engines":{"node":">=0.4.12"},"dependencies":{"punycode":">=0.2.0"},"devDependencies":{"vows":">=0.6.0","async":">=0.1.12"},"_id":"tough-cookie@0.9.15","dist":{"shasum":"75617ac347e3659052b0350131885829677399f6","tarball":"http://registry.npmjs.org/tough-cookie/-/tough-cookie-0.9.15.tgz"},"_npmVersion":"1.1.65","_npmUser":{"name":"jstash","email":"jeremy@goinstant.com"},"maintainers":[{"name":"jstash","email":"jeremy@goinstant.com"}],"directories":{}},"0.10.0":{"author":{"name":"GoInstant Inc., a salesforce.com company"},"license":"MIT","name":"tough-cookie","description":"RFC6265 Cookies and Cookie Jar for node.js","keywords":["HTTP","cookie","cookies","set-cookie","cookiejar","jar","RFC6265","RFC2965"],"version":"0.10.0","homepage":"https://github.com/goinstant/node-cookie","repository":{"type":"git","url":"git://github.com/goinstant/node-cookie.git"},"bugs":{"url":"https://github.com/goinstant/node-cookie/issues"},"main":"./lib/cookie","scripts":{"test":"vows test.js"},"engines":{"node":">=0.4.12"},"dependencies":{"punycode":">=0.2.0"},"devDependencies":{"vows":"0.7.0","async":">=0.1.12"},"_id":"tough-cookie@0.10.0","dist":{"shasum":"0cda4e24b2e6c417ad44270c48c9787f560aa1bc","tarball":"http://registry.npmjs.org/tough-cookie/-/tough-cookie-0.10.0.tgz"},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"goinstant","email":"support@goinstant.com"},"maintainers":[{"name":"jstash","email":"jeremy@goinstant.com"},{"name":"goinstant","email":"services@goinstant.com"}],"directories":{}},"0.11.0":{"author":{"name":"GoInstant Inc., a salesforce.com company"},"license":"MIT","name":"tough-cookie","description":"RFC6265 Cookies and Cookie Jar for node.js","keywords":["HTTP","cookie","cookies","set-cookie","cookiejar","jar","RFC6265","RFC2965"],"version":"0.11.0","homepage":"https://github.com/goinstant/node-cookie","repository":{"type":"git","url":"git://github.com/goinstant/node-cookie.git"},"bugs":{"url":"https://github.com/goinstant/node-cookie/issues"},"main":"./lib/cookie","scripts":{"test":"vows test.js"},"engines":{"node":">=0.4.12"},"dependencies":{"punycode":">=0.2.0"},"devDependencies":{"vows":"0.7.0","async":">=0.1.12"},"_id":"tough-cookie@0.11.0","dist":{"shasum":"7d8ef58b287253c98f50fa21e9b14408e07db323","tarball":"http://registry.npmjs.org/tough-cookie/-/tough-cookie-0.11.0.tgz"},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"goinstant","email":"support@goinstant.com"},"maintainers":[{"name":"jstash","email":"jeremy@goinstant.com"},{"name":"goinstant","email":"services@goinstant.com"}],"directories":{}},"0.12.0":{"author":{"name":"GoInstant Inc., a salesforce.com company"},"license":"MIT","name":"tough-cookie","description":"RFC6265 Cookies and Cookie Jar for node.js","keywords":["HTTP","cookie","cookies","set-cookie","cookiejar","jar","RFC6265","RFC2965"],"version":"0.12.0","homepage":"https://github.com/goinstant/node-cookie","repository":{"type":"git","url":"git://github.com/goinstant/node-cookie.git"},"bugs":{"url":"https://github.com/goinstant/node-cookie/issues"},"main":"./lib/cookie","scripts":{"test":"vows test.js"},"engines":{"node":">=0.4.12"},"dependencies":{"punycode":">=0.2.0"},"devDependencies":{"vows":"0.7.0","async":">=0.1.12"},"_id":"tough-cookie@0.12.0","dist":{"shasum":"713ccd8a77cd987ccd10b6f6938bbd96ecba36bf","tarball":"http://registry.npmjs.org/tough-cookie/-/tough-cookie-0.12.0.tgz"},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"goinstant","email":"support@goinstant.com"},"maintainers":[{"name":"jstash","email":"jeremy@goinstant.com"},{"name":"goinstant","email":"services@goinstant.com"}],"directories":{}},"0.12.1":{"author":{"name":"GoInstant Inc., a salesforce.com company"},"license":"MIT","name":"tough-cookie","description":"RFC6265 Cookies and Cookie Jar for node.js","keywords":["HTTP","cookie","cookies","set-cookie","cookiejar","jar","RFC6265","RFC2965"],"version":"0.12.1","homepage":"https://github.com/goinstant/tough-cookie","repository":{"type":"git","url":"git://github.com/goinstant/tough-cookie.git"},"bugs":{"url":"https://github.com/goinstant/tough-cookie/issues"},"main":"./lib/cookie","scripts":{"test":"vows test.js"},"engines":{"node":">=0.4.12"},"dependencies":{"punycode":">=0.2.0"},"devDependencies":{"vows":"0.7.0","async":">=0.1.12"},"_id":"tough-cookie@0.12.1","dist":{"shasum":"8220c7e21abd5b13d96804254bd5a81ebf2c7d62","tarball":"http://registry.npmjs.org/tough-cookie/-/tough-cookie-0.12.1.tgz"},"_from":".","_npmVersion":"1.3.11","_npmUser":{"name":"goinstant","email":"support@goinstant.com"},"maintainers":[{"name":"jstash","email":"jeremy@goinstant.com"},{"name":"goinstant","email":"services@goinstant.com"}],"directories":{}},"0.13.0":{"author":{"name":"Jeremy Stashewsky","email":"jstashewsky@salesforce.com"},"license":"BSD-3-Clause","name":"tough-cookie","description":"RFC6265 Cookies and Cookie Jar for node.js","keywords":["HTTP","cookie","cookies","set-cookie","cookiejar","jar","RFC6265","RFC2965"],"version":"0.13.0","homepage":"https://github.com/goinstant/tough-cookie","repository":{"type":"git","url":"git://github.com/goinstant/tough-cookie.git"},"bugs":{"url":"https://github.com/goinstant/tough-cookie/issues"},"main":"./lib/cookie","scripts":{"test":"vows test/*_test.js"},"engines":{"node":">=0.4.12"},"dependencies":{"punycode":">=0.2.0"},"devDependencies":{"vows":"0.7.0","async":">=0.1.12"},"gitHead":"264a99e770ff606ec9df126f5443de5f799ec500","_id":"tough-cookie@0.13.0","_shasum":"34531cfefeba2dc050fb8e9a3310f876cdcc24f4","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"jstash","email":"jstash@gmail.com"},"dist":{"shasum":"34531cfefeba2dc050fb8e9a3310f876cdcc24f4","tarball":"http://registry.npmjs.org/tough-cookie/-/tough-cookie-0.13.0.tgz"},"maintainers":[{"name":"jstash","email":"jeremy@goinstant.com"},{"name":"goinstant","email":"services@goinstant.com"}],"directories":{}},"1.0.0":{"author":{"name":"Jeremy Stashewsky","email":"jstashewsky@salesforce.com"},"license":"BSD-3-Clause","name":"tough-cookie","description":"RFC6265 Cookies and Cookie Jar for node.js","keywords":["HTTP","cookie","cookies","set-cookie","cookiejar","jar","RFC6265","RFC2965"],"version":"1.0.0","homepage":"https://github.com/SalesforceEng/tough-cookie","repository":{"type":"git","url":"git://github.com/SalesforceEng/tough-cookie.git"},"bugs":{"url":"https://github.com/SalesforceEng/tough-cookie/issues"},"main":"./lib/cookie","scripts":{"test":"vows test/*_test.js"},"engines":{"node":">=0.4.12"},"dependencies":{"punycode":">=0.2.0"},"devDependencies":{"vows":"0.7.0","async":">=0.1.12"},"gitHead":"c2a65279a4d5c303d9efb885983dc06796d6ee4f","_id":"tough-cookie@1.0.0","_shasum":"56ae180f2a88bc5db462c479229ee36e071e0296","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"jstash","email":"jstash@gmail.com"},"dist":{"shasum":"56ae180f2a88bc5db462c479229ee36e071e0296","tarball":"http://registry.npmjs.org/tough-cookie/-/tough-cookie-1.0.0.tgz"},"maintainers":[{"name":"jstash","email":"jeremy@goinstant.com"},{"name":"goinstant","email":"services@goinstant.com"}],"directories":{}},"1.1.0":{"author":{"name":"Jeremy Stashewsky","email":"jstashewsky@salesforce.com"},"license":"BSD-3-Clause","name":"tough-cookie","description":"RFC6265 Cookies and Cookie Jar for node.js","keywords":["HTTP","cookie","cookies","set-cookie","cookiejar","jar","RFC6265","RFC2965"],"version":"1.1.0","homepage":"https://github.com/SalesforceEng/tough-cookie","repository":{"type":"git","url":"git://github.com/SalesforceEng/tough-cookie.git"},"bugs":{"url":"https://github.com/SalesforceEng/tough-cookie/issues"},"main":"./lib/cookie","scripts":{"test":"vows test/*_test.js"},"engines":{"node":">=0.10.0"},"devDependencies":{"vows":"0.7.0","async":">=0.1.12"},"gitHead":"ddbcc02c8c24726c68e36a67d5864291acfdf57d","_id":"tough-cookie@1.1.0","_shasum":"126d2490e66ae5286b6863debd4a341076915954","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"jstash","email":"jstash@gmail.com"},"dist":{"shasum":"126d2490e66ae5286b6863debd4a341076915954","tarball":"http://registry.npmjs.org/tough-cookie/-/tough-cookie-1.1.0.tgz"},"maintainers":[{"name":"jstash","email":"jeremy@goinstant.com"},{"name":"goinstant","email":"services@goinstant.com"}],"directories":{}},"1.2.0":{"author":{"name":"Jeremy Stashewsky","email":"jstashewsky@salesforce.com"},"license":"BSD-3-Clause","name":"tough-cookie","description":"RFC6265 Cookies and Cookie Jar for node.js","keywords":["HTTP","cookie","cookies","set-cookie","cookiejar","jar","RFC6265","RFC2965"],"version":"1.2.0","homepage":"https://github.com/SalesforceEng/tough-cookie","repository":{"type":"git","url":"git://github.com/SalesforceEng/tough-cookie.git"},"bugs":{"url":"https://github.com/SalesforceEng/tough-cookie/issues"},"main":"./lib/cookie","scripts":{"test":"vows test/*_test.js"},"engines":{"node":">=0.10.0"},"devDependencies":{"vows":"0.7.0","async":">=0.1.12"},"gitHead":"74e59de50b719bb9a1b01c8c9db57fa31401ed1a","_id":"tough-cookie@1.2.0","_shasum":"9b7e9d98e769e80b5aa899d944fe44e02ebf82ad","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"jstash","email":"jstash@gmail.com"},"dist":{"shasum":"9b7e9d98e769e80b5aa899d944fe44e02ebf82ad","tarball":"http://registry.npmjs.org/tough-cookie/-/tough-cookie-1.2.0.tgz"},"maintainers":[{"name":"jstash","email":"jeremy@goinstant.com"},{"name":"goinstant","email":"services@goinstant.com"}],"directories":{}},"2.0.0":{"author":{"name":"Jeremy Stashewsky","email":"jstashewsky@salesforce.com"},"license":"BSD-3-Clause","name":"tough-cookie","description":"RFC6265 Cookies and Cookie Jar for node.js","keywords":["HTTP","cookie","cookies","set-cookie","cookiejar","jar","RFC6265","RFC2965"],"version":"2.0.0","homepage":"https://github.com/SalesforceEng/tough-cookie","repository":{"type":"git","url":"git://github.com/SalesforceEng/tough-cookie.git"},"bugs":{"url":"https://github.com/SalesforceEng/tough-cookie/issues"},"main":"./lib/cookie","scripts":{"test":"vows test/*_test.js"},"engines":{"node":">=0.10.0"},"devDependencies":{"vows":"0.7.0","async":">=0.1.12"},"gitHead":"a3af6104da7787c23bb98910109b0e0e8a10153c","_id":"tough-cookie@2.0.0","_shasum":"41ce08720b35cf90beb044dd2609fb19e928718f","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.12.2","_npmUser":{"name":"jstash","email":"jstash@gmail.com"},"dist":{"shasum":"41ce08720b35cf90beb044dd2609fb19e928718f","tarball":"http://registry.npmjs.org/tough-cookie/-/tough-cookie-2.0.0.tgz"},"maintainers":[{"name":"jstash","email":"jeremy@goinstant.com"},{"name":"goinstant","email":"services@goinstant.com"}],"directories":{}},"2.1.0":{"author":{"name":"Jeremy Stashewsky","email":"jstashewsky@salesforce.com"},"contributors":[{"name":"Alexander Savin"},{"name":"Ian Livingstone"},{"name":"Ivan Nikulin"},{"name":"Lalit Kapoor"},{"name":"Sam Thompson"},{"name":"Sebastian Mayr"}],"license":"BSD-3-Clause","name":"tough-cookie","description":"RFC6265 Cookies and Cookie Jar for node.js","keywords":["HTTP","cookie","cookies","set-cookie","cookiejar","jar","RFC6265","RFC2965"],"version":"2.1.0","homepage":"https://github.com/SalesforceEng/tough-cookie","repository":{"type":"git","url":"git://github.com/SalesforceEng/tough-cookie.git"},"bugs":{"url":"https://github.com/SalesforceEng/tough-cookie/issues"},"main":"./lib/cookie","files":["lib"],"scripts":{"suffixup":"curl -o public_suffix_list.dat https://publicsuffix.org/list/public_suffix_list.dat && ./generate-pubsuffix.js","test":"vows test/*_test.js"},"engines":{"node":">=0.10.0"},"devDependencies":{"async":"^1.4.2","vows":"^0.8.1"},"gitHead":"63045791429fa8fd644e68676074da480a925448","_id":"tough-cookie@2.1.0","_shasum":"4e66609e3e4360a93aff0d4d64b3632e966e8613","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.5","_npmUser":{"name":"jstash","email":"jstash@gmail.com"},"dist":{"shasum":"4e66609e3e4360a93aff0d4d64b3632e966e8613","tarball":"http://registry.npmjs.org/tough-cookie/-/tough-cookie-2.1.0.tgz"},"maintainers":[{"name":"jstash","email":"jeremy@goinstant.com"},{"name":"goinstant","email":"services@goinstant.com"}],"directories":{}},"2.2.0":{"author":{"name":"Jeremy Stashewsky","email":"jstashewsky@salesforce.com"},"contributors":[{"name":"Alexander Savin"},{"name":"Ian Livingstone"},{"name":"Ivan Nikulin"},{"name":"Lalit Kapoor"},{"name":"Sam Thompson"},{"name":"Sebastian Mayr"}],"license":"BSD-3-Clause","name":"tough-cookie","description":"RFC6265 Cookies and Cookie Jar for node.js","keywords":["HTTP","cookie","cookies","set-cookie","cookiejar","jar","RFC6265","RFC2965"],"version":"2.2.0","homepage":"https://github.com/SalesforceEng/tough-cookie","repository":{"type":"git","url":"git://github.com/SalesforceEng/tough-cookie.git"},"bugs":{"url":"https://github.com/SalesforceEng/tough-cookie/issues"},"main":"./lib/cookie","files":["lib"],"scripts":{"suffixup":"curl -o public_suffix_list.dat https://publicsuffix.org/list/public_suffix_list.dat && ./generate-pubsuffix.js","test":"vows test/*_test.js"},"engines":{"node":">=0.10.0"},"devDependencies":{"async":"^1.4.2","vows":"^0.8.1"},"gitHead":"fb1456177c9b51445afa34656eb314c70c2adcd2","_id":"tough-cookie@2.2.0","_shasum":"d4ce661075e5fddb7f20341d3f9931a6fbbadde0","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.5","_npmUser":{"name":"jstash","email":"jstash@gmail.com"},"dist":{"shasum":"d4ce661075e5fddb7f20341d3f9931a6fbbadde0","tarball":"http://registry.npmjs.org/tough-cookie/-/tough-cookie-2.2.0.tgz"},"maintainers":[{"name":"jstash","email":"jeremy@goinstant.com"},{"name":"goinstant","email":"services@goinstant.com"}],"directories":{}},"2.2.1":{"author":{"name":"Jeremy Stashewsky","email":"jstashewsky@salesforce.com"},"contributors":[{"name":"Alexander Savin"},{"name":"Ian Livingstone"},{"name":"Ivan Nikulin"},{"name":"Lalit Kapoor"},{"name":"Sam Thompson"},{"name":"Sebastian Mayr"}],"license":"BSD-3-Clause","name":"tough-cookie","description":"RFC6265 Cookies and Cookie Jar for node.js","keywords":["HTTP","cookie","cookies","set-cookie","cookiejar","jar","RFC6265","RFC2965"],"version":"2.2.1","homepage":"https://github.com/SalesforceEng/tough-cookie","repository":{"type":"git","url":"git://github.com/SalesforceEng/tough-cookie.git"},"bugs":{"url":"https://github.com/SalesforceEng/tough-cookie/issues"},"main":"./lib/cookie","files":["lib"],"scripts":{"suffixup":"curl -o public_suffix_list.dat https://publicsuffix.org/list/public_suffix_list.dat && ./generate-pubsuffix.js","test":"vows test/*_test.js"},"engines":{"node":">=0.10.0"},"devDependencies":{"async":"^1.4.2","vows":"^0.8.1"},"gitHead":"f1055655ea56c85bd384aaf7d5b740b916700b6f","_id":"tough-cookie@2.2.1","_shasum":"3b0516b799e70e8164436a1446e7e5877fda118e","_from":".","_npmVersion":"2.11.2","_nodeVersion":"0.12.5","_npmUser":{"name":"jstash","email":"jstash@gmail.com"},"dist":{"shasum":"3b0516b799e70e8164436a1446e7e5877fda118e","tarball":"http://registry.npmjs.org/tough-cookie/-/tough-cookie-2.2.1.tgz"},"maintainers":[{"name":"jstash","email":"jeremy@goinstant.com"},{"name":"goinstant","email":"services@goinstant.com"}],"directories":{}}},"maintainers":[{"name":"jstash","email":"jeremy@goinstant.com"},{"name":"goinstant","email":"services@goinstant.com"}],"time":{"modified":"2015-11-13T01:52:06.393Z","created":"2011-10-21T19:06:03.548Z","0.9.0":"2011-10-21T19:06:03.972Z","0.9.1":"2011-10-31T20:14:14.089Z","0.9.3":"2011-11-07T22:32:46.899Z","0.9.4":"2011-11-23T15:55:51.823Z","0.9.5":"2011-11-23T16:09:51.761Z","0.9.6":"2011-11-23T19:26:54.217Z","0.9.7":"2011-12-01T23:14:08.946Z","0.9.8":"2011-12-15T16:03:48.038Z","0.9.9":"2012-04-17T02:38:36.426Z","0.9.11":"2012-04-23T17:02:57.971Z","0.9.12":"2012-04-25T16:48:25.708Z","0.9.13":"2012-05-08T16:21:30.704Z","0.9.14":"2012-09-28T17:45:14.613Z","0.9.15":"2013-01-25T17:35:07.444Z","0.10.0":"2014-01-10T21:47:05.533Z","0.11.0":"2014-01-13T18:21:15.484Z","0.12.0":"2014-01-13T21:32:46.961Z","0.12.1":"2014-01-16T18:26:00.164Z","0.13.0":"2015-04-22T01:25:50.445Z","1.0.0":"2015-04-28T01:38:47.750Z","1.1.0":"2015-04-28T18:14:01.870Z","1.2.0":"2015-05-25T16:49:39.201Z","2.0.0":"2015-06-10T22:13:55.825Z","2.1.0":"2015-10-02T17:49:06.735Z","2.2.0":"2015-10-06T23:18:58.173Z","2.2.1":"2015-11-13T01:52:06.393Z"},"author":{"name":"Jeremy Stashewsky","email":"jstashewsky@salesforce.com"},"repository":{"type":"git","url":"git://github.com/SalesforceEng/tough-cookie.git"},"users":{"gavinuhma":true,"asilvas":true,"etiv":true,"porkbits":true,"cdokolas":true,"david-martin":true,"sasquatch":true,"mjurincic":true,"marcelotrad":true,"sshawuk":true,"cliff":true,"axelav":true,"reecegoddard":true},"readme":"[RFC6265](https://tools.ietf.org/html/rfc6265) Cookies and CookieJar for Node.js\n\n[![Build Status](https://travis-ci.org/SalesforceEng/tough-cookie.png?branch=master)](https://travis-ci.org/SalesforceEng/tough-cookie)\n\n[![NPM Stats](https://nodei.co/npm/tough-cookie.png?downloads=true&stars=true)](https://npmjs.org/package/tough-cookie)\n![NPM Downloads](https://nodei.co/npm-dl/tough-cookie.png?months=9)\n\n# Synopsis\n\n``` javascript\nvar tough = require('tough-cookie');\nvar Cookie = tough.Cookie;\nvar cookie = Cookie.parse(header);\ncookie.value = 'somethingdifferent';\nheader = cookie.toString();\n\nvar cookiejar = new tough.CookieJar();\ncookiejar.setCookie(cookie, 'http://currentdomain.example.com/path', cb);\n// ...\ncookiejar.getCookies('http://example.com/otherpath',function(err,cookies) {\n res.headers['cookie'] = cookies.join('; ');\n});\n```\n\n# Installation\n\nIt's _so_ easy!\n\n`npm install tough-cookie`\n\nWhy the name? NPM modules `cookie`, `cookies` and `cookiejar` were already taken.\n\n# API\n\n## tough\n\nFunctions on the module you get from `require('tough-cookie')`. All can be used as pure functions and don't need to be \"bound\".\n\n**Note**: prior to 1.0.x, several of these functions took a `strict` parameter. This has since been removed from the API as it was no longer necessary.\n\n### `parseDate(string)`\n\nParse a cookie date string into a `Date`. Parses according to RFC6265 Section 5.1.1, not `Date.parse()`.\n\n### `formatDate(date)`\n\nFormat a Date into a RFC1123 string (the RFC6265-recommended format).\n\n### `canonicalDomain(str)`\n\nTransforms a domain-name into a canonical domain-name. The canonical domain-name is a trimmed, lowercased, stripped-of-leading-dot and optionally punycode-encoded domain-name (Section 5.1.2 of RFC6265). For the most part, this function is idempotent (can be run again on its output without ill effects).\n\n### `domainMatch(str,domStr[,canonicalize=true])`\n\nAnswers \"does this real domain match the domain in a cookie?\". The `str` is the \"current\" domain-name and the `domStr` is the \"cookie\" domain-name. Matches according to RFC6265 Section 5.1.3, but it helps to think of it as a \"suffix match\".\n\nThe `canonicalize` parameter will run the other two paramters through `canonicalDomain` or not.\n\n### `defaultPath(path)`\n\nGiven a current request/response path, gives the Path apropriate for storing in a cookie. This is basically the \"directory\" of a \"file\" in the path, but is specified by Section 5.1.4 of the RFC.\n\nThe `path` parameter MUST be _only_ the pathname part of a URI (i.e. excludes the hostname, query, fragment, etc.). This is the `.pathname` property of node's `uri.parse()` output.\n\n### `pathMatch(reqPath,cookiePath)`\n\nAnswers \"does the request-path path-match a given cookie-path?\" as per RFC6265 Section 5.1.4. Returns a boolean.\n\nThis is essentially a prefix-match where `cookiePath` is a prefix of `reqPath`.\n\n### `parse(cookieString[, options])`\n\nalias for `Cookie.parse(cookieString[, options])`\n\n### `fromJSON(string)`\n\nalias for `Cookie.fromJSON(string)`\n\n### `getPublicSuffix(hostname)`\n\nReturns the public suffix of this hostname. The public suffix is the shortest domain-name upon which a cookie can be set. Returns `null` if the hostname cannot have cookies set for it.\n\nFor example: `www.example.com` and `www.subdomain.example.com` both have public suffix `example.com`.\n\nFor further information, see http://publicsuffix.org/. This module derives its list from that site.\n\n### `cookieCompare(a,b)`\n\nFor use with `.sort()`, sorts a list of cookies into the recommended order given in the RFC (Section 5.4 step 2). The sort algorithm is, in order of precedence:\n\n* Longest `.path`\n* oldest `.creation` (which has a 1ms precision, same as `Date`)\n* lowest `.creationIndex` (to get beyond the 1ms precision)\n\n``` javascript\nvar cookies = [ /* unsorted array of Cookie objects */ ];\ncookies = cookies.sort(cookieCompare);\n```\n\n**Note**: Since JavaScript's `Date` is limited to a 1ms precision, cookies within the same milisecond are entirely possible. This is especially true when using the `now` option to `.setCookie()`. The `.creationIndex` property is a per-process global counter, assigned during construction with `new Cookie()`. This preserves the spirit of the RFC sorting: older cookies go first. This works great for `MemoryCookieStore`, since `Set-Cookie` headers are parsed in order, but may not be so great for distributed systems. Sophisticated `Store`s may wish to set this to some other _logical clock_ such that if cookies A and B are created in the same millisecond, but cookie A is created before cookie B, then `A.creationIndex < B.creationIndex`. If you want to alter the global counter, which you probably _shouldn't_ do, it's stored in `Cookie.cookiesCreated`.\n\n### `permuteDomain(domain)`\n\nGenerates a list of all possible domains that `domainMatch()` the parameter. May be handy for implementing cookie stores.\n\n### `permutePath(path)`\n\nGenerates a list of all possible paths that `pathMatch()` the parameter. May be handy for implementing cookie stores.\n\n\n## Cookie\n\nExported via `tough.Cookie`.\n\n### `Cookie.parse(cookieString[, options])`\n\nParses a single Cookie or Set-Cookie HTTP header into a `Cookie` object. Returns `undefined` if the string can't be parsed.\n\nThe options parameter is not required and currently has only one property:\n\n * _loose_ - boolean - if `true` enable parsing of key-less cookies like `=abc` and `=`, which are not RFC-compliant.\n\nIf options is not an object, it is ignored, which means you can use `Array#map` with it.\n\nHere's how to process the Set-Cookie header(s) on a node HTTP/HTTPS response:\n\n``` javascript\nif (res.headers['set-cookie'] instanceof Array)\n cookies = res.headers['set-cookie'].map(Cookie.parse);\nelse\n cookies = [Cookie.parse(res.headers['set-cookie'])];\n```\n\n### Properties\n\nCookie object properties:\n\n * _key_ - string - the name or key of the cookie (default \"\")\n * _value_ - string - the value of the cookie (default \"\")\n * _expires_ - `Date` - if set, the `Expires=` attribute of the cookie (defaults to the string `\"Infinity\"`). See `setExpires()`\n * _maxAge_ - seconds - if set, the `Max-Age=` attribute _in seconds_ of the cookie. May also be set to strings `\"Infinity\"` and `\"-Infinity\"` for non-expiry and immediate-expiry, respectively. See `setMaxAge()`\n * _domain_ - string - the `Domain=` attribute of the cookie\n * _path_ - string - the `Path=` of the cookie\n * _secure_ - boolean - the `Secure` cookie flag\n * _httpOnly_ - boolean - the `HttpOnly` cookie flag\n * _extensions_ - `Array` - any unrecognized cookie attributes as strings (even if equal-signs inside)\n * _creation_ - `Date` - when this cookie was constructed\n * _creationIndex_ - number - set at construction, used to provide greater sort precision (please see `cookieCompare(a,b)` for a full explanation)\n\nAfter a cookie has been passed through `CookieJar.setCookie()` it will have the following additional attributes:\n\n * _hostOnly_ - boolean - is this a host-only cookie (i.e. no Domain field was set, but was instead implied)\n * _pathIsDefault_ - boolean - if true, there was no Path field on the cookie and `defaultPath()` was used to derive one.\n * _creation_ - `Date` - **modified** from construction to when the cookie was added to the jar\n * _lastAccessed_ - `Date` - last time the cookie got accessed. Will affect cookie cleaning once implemented. Using `cookiejar.getCookies(...)` will update this attribute.\n\n### `Cookie([{properties}])`\n\nReceives an options object that can contain any of the above Cookie properties, uses the default for unspecified properties.\n\n### `.toString()`\n\nencode to a Set-Cookie header value. The Expires cookie field is set using `formatDate()`, but is omitted entirely if `.expires` is `Infinity`.\n\n### `.cookieString()`\n\nencode to a Cookie header value (i.e. the `.key` and `.value` properties joined with '=').\n\n### `.setExpires(String)`\n\nsets the expiry based on a date-string passed through `parseDate()`. If parseDate returns `null` (i.e. can't parse this date string), `.expires` is set to `\"Infinity\"` (a string) is set.\n\n### `.setMaxAge(number)`\n\nsets the maxAge in seconds. Coerces `-Infinity` to `\"-Infinity\"` and `Infinity` to `\"Infinity\"` so it JSON serializes correctly.\n\n### `.expiryTime([now=Date.now()])`\n\n### `.expiryDate([now=Date.now()])`\n\nexpiryTime() Computes the absolute unix-epoch milliseconds that this cookie expires. expiryDate() works similarly, except it returns a `Date` object. Note that in both cases the `now` parameter should be milliseconds.\n\nMax-Age takes precedence over Expires (as per the RFC). The `.creation` attribute -- or, by default, the `now` paramter -- is used to offset the `.maxAge` attribute.\n\nIf Expires (`.expires`) is set, that's returned.\n\nOtherwise, `expiryTime()` returns `Infinity` and `expiryDate()` returns a `Date` object for \"Tue, 19 Jan 2038 03:14:07 GMT\" (latest date that can be expressed by a 32-bit `time_t`; the common limit for most user-agents).\n\n### `.TTL([now=Date.now()])`\n\ncompute the TTL relative to `now` (milliseconds). The same precedence rules as for `expiryTime`/`expiryDate` apply.\n\nThe \"number\" `Infinity` is returned for cookies without an explicit expiry and `0` is returned if the cookie is expired. Otherwise a time-to-live in milliseconds is returned.\n\n### `.canonicalizedDoman()`\n\n### `.cdomain()`\n\nreturn the canonicalized `.domain` field. This is lower-cased and punycode (RFC3490) encoded if the domain has any non-ASCII characters.\n\n### `.toJSON()`\n\nFor convenience in using `JSON.serialize(cookie)`. Returns a plain-old `Object` that can be JSON-serialized.\n\nAny `Date` properties (i.e., `.expires`, `.creation`, and `.lastAccessed`) are exported in ISO format (`.toISOString()`).\n\n**NOTE**: Custom `Cookie` properties will be discarded. In tough-cookie 1.x, since there was no `.toJSON` method explicitly defined, all enumerable properties were captured. If you want a property to be serialized, add the property name to the `Cookie.serializableProperties` Array.\n\n### `Cookie.fromJSON(strOrObj)`\n\nDoes the reverse of `cookie.toJSON()`. If passed a string, will `JSON.parse()` that first.\n\nAny `Date` properties (i.e., `.expires`, `.creation`, and `.lastAccessed`) are parsed via `Date.parse()`, not the tough-cookie `parseDate`, since it's JavaScript/JSON-y timestamps being handled at this layer.\n\nReturns `null` upon JSON parsing error.\n\n### `.clone()`\n\nDoes a deep clone of this cookie, exactly implemented as `Cookie.fromJSON(cookie.toJSON())`.\n\n### `.validate()`\n\nStatus: *IN PROGRESS*. Works for a few things, but is by no means comprehensive.\n\nvalidates cookie attributes for semantic correctness. Useful for \"lint\" checking any Set-Cookie headers you generate. For now, it returns a boolean, but eventually could return a reason string -- you can future-proof with this construct:\n\n``` javascript\nif (cookie.validate() === true) {\n // it's tasty\n} else {\n // yuck!\n}\n```\n\n\n## CookieJar\n\nExported via `tough.CookieJar`.\n\n### `CookieJar([store],[options])`\n\nSimply use `new CookieJar()`. If you'd like to use a custom store, pass that to the constructor otherwise a `MemoryCookieStore` will be created and used.\n\nThe `options` object can be omitted and can have the following properties:\n\n * _rejectPublicSuffixes_ - boolean - default `true` - reject cookies with domains like \"com\" and \"co.uk\"\n * _looseMode_ - boolean - default `false` - accept malformed cookies like `bar` and `=bar`, which have an implied empty name.\n This is not in the standard, but is used sometimes on the web and is accepted by (most) browsers.\n\nSince eventually this module would like to support database/remote/etc. CookieJars, continuation passing style is used for CookieJar methods.\n\n### `.setCookie(cookieOrString, currentUrl, [{options},] cb(err,cookie))`\n\nAttempt to set the cookie in the cookie jar. If the operation fails, an error will be given to the callback `cb`, otherwise the cookie is passed through. The cookie will have updated `.creation`, `.lastAccessed` and `.hostOnly` properties.\n\nThe `options` object can be omitted and can have the following properties:\n\n * _http_ - boolean - default `true` - indicates if this is an HTTP or non-HTTP API. Affects HttpOnly cookies.\n * _secure_ - boolean - autodetect from url - indicates if this is a \"Secure\" API. If the currentUrl starts with `https:` or `wss:` then this is defaulted to `true`, otherwise `false`.\n * _now_ - Date - default `new Date()` - what to use for the creation/access time of cookies\n * _ignoreError_ - boolean - default `false` - silently ignore things like parse errors and invalid domains. `Store` errors aren't ignored by this option.\n\nAs per the RFC, the `.hostOnly` property is set if there was no \"Domain=\" parameter in the cookie string (or `.domain` was null on the Cookie object). The `.domain` property is set to the fully-qualified hostname of `currentUrl` in this case. Matching this cookie requires an exact hostname match (not a `domainMatch` as per usual).\n\n### `.setCookieSync(cookieOrString, currentUrl, [{options}])`\n\nSynchronous version of `setCookie`; only works with synchronous stores (e.g. the default `MemoryCookieStore`).\n\n### `.getCookies(currentUrl, [{options},] cb(err,cookies))`\n\nRetrieve the list of cookies that can be sent in a Cookie header for the current url.\n\nIf an error is encountered, that's passed as `err` to the callback, otherwise an `Array` of `Cookie` objects is passed. The array is sorted with `cookieCompare()` unless the `{sort:false}` option is given.\n\nThe `options` object can be omitted and can have the following properties:\n\n * _http_ - boolean - default `true` - indicates if this is an HTTP or non-HTTP API. Affects HttpOnly cookies.\n * _secure_ - boolean - autodetect from url - indicates if this is a \"Secure\" API. If the currentUrl starts with `https:` or `wss:` then this is defaulted to `true`, otherwise `false`.\n * _now_ - Date - default `new Date()` - what to use for the creation/access time of cookies\n * _expire_ - boolean - default `true` - perform expiry-time checking of cookies and asynchronously remove expired cookies from the store. Using `false` will return expired cookies and **not** remove them from the store (which is useful for replaying Set-Cookie headers, potentially).\n * _allPaths_ - boolean - default `false` - if `true`, do not scope cookies by path. The default uses RFC-compliant path scoping. **Note**: may not be supported by the underlying store (the default `MemoryCookieStore` supports it).\n\nThe `.lastAccessed` property of the returned cookies will have been updated.\n\n### `.getCookiesSync(currentUrl, [{options}])`\n\nSynchronous version of `getCookies`; only works with synchronous stores (e.g. the default `MemoryCookieStore`).\n\n### `.getCookieString(...)`\n\nAccepts the same options as `.getCookies()` but passes a string suitable for a Cookie header rather than an array to the callback. Simply maps the `Cookie` array via `.cookieString()`.\n\n### `.getCookieStringSync(...)`\n\nSynchronous version of `getCookieString`; only works with synchronous stores (e.g. the default `MemoryCookieStore`).\n\n### `.getSetCookieStrings(...)`\n\nReturns an array of strings suitable for **Set-Cookie** headers. Accepts the same options as `.getCookies()`. Simply maps the cookie array via `.toString()`.\n\n### `.getSetCookieStringsSync(...)`\n\nSynchronous version of `getSetCookieStrings`; only works with synchronous stores (e.g. the default `MemoryCookieStore`).\n\n### `.serialize(cb(err,serializedObject))`\n\nSerialize the Jar if the underlying store supports `.getAllCookies`.\n\n**NOTE**: Custom `Cookie` properties will be discarded. If you want a property to be serialized, add the property name to the `Cookie.serializableProperties` Array.\n\nSee [Serialization Format].\n\n### `.serializeSync()`\n\nSync version of .serialize\n\n### `.toJSON()`\n\nAlias of .serializeSync() for the convenience of `JSON.stringify(cookiejar)`.\n\n### `CookieJar.deserialize(serialized, [store], cb(err,object))`\n\nA new Jar is created and the serialized Cookies are added to the underlying store. Each `Cookie` is added via `store.putCookie` in the order in which they appear in the serialization.\n\nThe `store` argument is optional, but should be an instance of `Store`. By default, a new instance of `MemoryCookieStore` is created.\n\nAs a convenience, if `serialized` is a string, it is passed through `JSON.parse` first. If that throws an error, this is passed to the callback.\n\n### `CookieJar.deserializeSync(serialized, [store])`\n\nSync version of `.deserialize`. _Note_ that the `store` must be synchronous for this to work.\n\n### `CookieJar.fromJSON(string)`\n\nAlias of `.deserializeSync` to provide consistency with `Cookie.fromJSON()`.\n\n### `.clone([store,]cb(err,newJar))`\n\nProduces a deep clone of this jar. Modifications to the original won't affect the clone, and vice versa.\n\nThe `store` argument is optional, but should be an instance of `Store`. By default, a new instance of `MemoryCookieStore` is created. Transferring between store types is supported so long as the source implements `.getAllCookies()` and the destination implements `.putCookie()`.\n\n### `.cloneSync([store])`\n\nSynchronous version of `.clone`, returning a new `CookieJar` instance.\n\nThe `store` argument is optional, but must be a _synchronous_ `Store` instance if specified. If not passed, a new instance of `MemoryCookieStore` is used.\n\nThe _source_ and _destination_ must both be synchronous `Store`s. If one or both stores are asynchronous, use `.clone` instead. Recall that `MemoryCookieStore` supports both synchronous and asynchronous API calls.\n\n## Store\n\nBase class for CookieJar stores. Available as `tough.Store`.\n\n## Store API\n\nThe storage model for each `CookieJar` instance can be replaced with a custom implementation. The default is `MemoryCookieStore` which can be found in the `lib/memstore.js` file. The API uses continuation-passing-style to allow for asynchronous stores.\n\nStores should inherit from the base `Stor