{"_id":"binary-cookies","_rev":"7-6ea04cc9f36fbcf00e013dd6b4eb1aca","name":"binary-cookies","description":"Binary cookie file parser","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"binary-cookies","description":"Binary cookie file parser","tags":["cookies","apple","safari"],"version":"0.1.0","author":{"name":"Jonathan Lipps"},"repository":{"type":"git","url":"https://github.com/jlipps/node-binary-cookies"},"bugs":{"url":"https://github.com/jlipps/node-binary-cookies/issues"},"engines":["node"],"main":"./parse.js","bin":{"parse_cookies":"./parse.js"},"dependencies":{"underscore":"~1.4.3","colors":"~0.6.0-1","argparse":"~0.1.10","path":"~0.4.9","winston":"~0.6.2","bufferpack":"0.0.6","async":"~0.2.6"},"scripts":{"test":"grunt test"},"devDependencies":{"mocha":"~1.8.1","should":"~1.2.1","grunt":"~0.4.0","grunt-cli":"~0.1.6","grunt-contrib-jshint":"~0.1.1","grunt-mocha-test":"~0.2.0"},"readme":"node-binary-cookies\n===================\n\nBinary cookies parser for Node.\n\nSome Apple browsers like Safari and Mobile Safari store their cookies in\na `.binarycookie` format that is hard to parse. Node to the rescue! Say you\nhave a file at `/my/path/to/Cookies.binarycookies`. You can parse it like so:\n\n```js\nvar CookieParser = require('./cookies')\n  , cookiePath = \"/my/path/to/Cookies.binarycookies\";\n\nCookieParser.parse(cookiePath, function(err, cookies) {\n  console.log(cookies[0]);\n});\n```\n\nThis will output something like this:\n\n```js\n{\n    flags: 0,\n    expiration: new Date(\"Thu Apr 02 2015 14:55:59 GMT-0700 (PDT)\"),\n    creation: new Date(\"Tue Apr 02 2013 14:56:00 GMT-0700 (PDT)\"),\n    url: '.apple.com',\n    name: 's_pathLength',\n    path: '/',\n    value: 'homepage%3D1%2C'\n}\n```\n\nThis should all be self-explanatory except flags:\n\n|Flag|Meaning|\n|----|-------|\n|0|No flags|\n|1|Secure cookie|\n|4|HttpOnly cookie|\n|5|Secure &amp; HttpOnly|\n\nHave fun! I wrote this for [Appium](http://github.com/appium/appium), check it\nout!\n\nAcknowledgements\n--------\nI learned about the spec from [this blog entry](http://www.securitylearn.net/2012/10/27/cookies-binarycookies-reader/). Thanks Internet dude!\n","readmeFilename":"README.md","_id":"binary-cookies@0.1.0","dist":{"shasum":"06f1bed4cca5972e5130781784ec901ee01b2626","tarball":"https://registry.npmjs.org/binary-cookies/-/binary-cookies-0.1.0.tgz","integrity":"sha512-FmYPoMnhqRjCWUmkAnm/JJo3be1tpTFAAY1EO37zANjaWUc1bEqjd1ID3SQfgYMH1PYrmBsBQNe5ggRoTCLhGw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD15eR1KW7miy5p6uk+MzEKgVBNBNFyOwyr2hvWLkeADwIhAIIg5EzizY5bm9vUgArgnuNtygPrFWcaJ3qYb1iRU5pX"}]},"_npmVersion":"1.2.0","_npmUser":{"name":"jlipps","email":"jlipps@gmail.com"},"maintainers":[{"name":"jlipps","email":"jlipps@gmail.com"}]},"0.1.1":{"name":"binary-cookies","description":"Binary cookie file parser","tags":["cookies","apple","safari"],"version":"0.1.1","author":{"name":"Jonathan Lipps"},"repository":{"type":"git","url":"https://github.com/jlipps/node-binary-cookies"},"bugs":{"url":"https://github.com/jlipps/node-binary-cookies/issues"},"engines":["node"],"main":"./cookies.js","dependencies":{"underscore":"~1.4.3","colors":"~0.6.0-1","argparse":"~0.1.10","path":"~0.4.9","winston":"~0.6.2","bufferpack":"0.0.6","async":"~0.2.6"},"scripts":{"test":"grunt test"},"devDependencies":{"mocha":"~1.8.1","should":"~1.2.1","grunt":"~0.4.0","grunt-cli":"~0.1.6","grunt-contrib-jshint":"~0.1.1","grunt-mocha-test":"~0.2.0"},"readme":"node-binary-cookies\n===================\n\nBinary cookies parser for Node.\n\nSome Apple browsers like Safari and Mobile Safari store their cookies in\na `.binarycookie` format that is hard to parse. Node to the rescue! Say you\nhave a file at `/my/path/to/Cookies.binarycookies`. You can parse it like so:\n\n```js\nvar CookieParser = require('./cookies')\n  , cookiePath = \"/my/path/to/Cookies.binarycookies\";\n\nCookieParser.parse(cookiePath, function(err, cookies) {\n  console.log(cookies[0]);\n});\n```\n\nThis will output something like this:\n\n```js\n{\n    flags: 0,\n    expiration: new Date(\"Thu Apr 02 2015 14:55:59 GMT-0700 (PDT)\"),\n    creation: new Date(\"Tue Apr 02 2013 14:56:00 GMT-0700 (PDT)\"),\n    url: '.apple.com',\n    name: 's_pathLength',\n    path: '/',\n    value: 'homepage%3D1%2C'\n}\n```\n\nThis should all be self-explanatory except flags:\n\n|Flag|Meaning|\n|----|-------|\n|0|No flags|\n|1|Secure cookie|\n|4|HttpOnly cookie|\n|5|Secure &amp; HttpOnly|\n\nHave fun! I wrote this for [Appium](http://github.com/appium/appium), check it\nout!\n\nAcknowledgements\n--------\nI learned about the spec from [this blog entry](http://www.securitylearn.net/2012/10/27/cookies-binarycookies-reader/). Thanks Internet dude!\n","readmeFilename":"README.md","_id":"binary-cookies@0.1.1","dist":{"shasum":"96d4452746c53a28fec2ff0afd610c81fae319e2","tarball":"https://registry.npmjs.org/binary-cookies/-/binary-cookies-0.1.1.tgz","integrity":"sha512-WsGLz7tfr30eYQu8bUwEwnh0bLyM2Hf/Bn1NAKV9pLr2mlSycxT67cisqbxS749XFy7ZCcNHtFNzg4a/uER0IQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCuZoaD/oggahXBFdVc0i7L2C6R3OIWGiYsBGIQaH8ypQIhAO4VFM7kV14NW+8esEgZKA4q798VG/i/M0x3fJ9KhDeC"}]},"_npmVersion":"1.2.0","_npmUser":{"name":"jlipps","email":"jlipps@gmail.com"},"maintainers":[{"name":"jlipps","email":"jlipps@gmail.com"}]}},"readme":"node-binary-cookies\n===================\n\nBinary cookies parser for Node.\n\nSome Apple browsers like Safari and Mobile Safari store their cookies in\na `.binarycookie` format that is hard to parse. Node to the rescue! Say you\nhave a file at `/my/path/to/Cookies.binarycookies`. You can parse it like so:\n\n```js\nvar CookieParser = require('./cookies')\n  , cookiePath = \"/my/path/to/Cookies.binarycookies\";\n\nCookieParser.parse(cookiePath, function(err, cookies) {\n  console.log(cookies[0]);\n});\n```\n\nThis will output something like this:\n\n```js\n{\n    flags: 0,\n    expiration: new Date(\"Thu Apr 02 2015 14:55:59 GMT-0700 (PDT)\"),\n    creation: new Date(\"Tue Apr 02 2013 14:56:00 GMT-0700 (PDT)\"),\n    url: '.apple.com',\n    name: 's_pathLength',\n    path: '/',\n    value: 'homepage%3D1%2C'\n}\n```\n\nThis should all be self-explanatory except flags:\n\n|Flag|Meaning|\n|----|-------|\n|0|No flags|\n|1|Secure cookie|\n|4|HttpOnly cookie|\n|5|Secure &amp; HttpOnly|\n\nHave fun! I wrote this for [Appium](http://github.com/appium/appium), check it\nout!\n\nAcknowledgements\n--------\nI learned about the spec from [this blog entry](http://www.securitylearn.net/2012/10/27/cookies-binarycookies-reader/). Thanks Internet dude!\n","maintainers":[{"name":"jlipps","email":"jlipps@gmail.com"}],"time":{"modified":"2022-06-13T04:37:57.882Z","created":"2013-04-03T00:47:16.475Z","0.1.0":"2013-04-03T00:47:17.610Z","0.1.1":"2013-04-03T00:48:52.274Z"},"author":{"name":"Jonathan Lipps"},"repository":{"type":"git","url":"https://github.com/jlipps/node-binary-cookies"}}