{"_id":"@amphibian/write-cookie","_rev":"9-8d9bf0909aef95aae99305c5b8d2d21b","name":"@amphibian/write-cookie","description":"write browser cookie","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"@amphibian/write-cookie","version":"1.0.0","description":"write browser cookie","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+ssh://git@gitlab.com/thomaslindstr_m/write-cookie.git"},"author":{"name":"Thomas Lindstrom","email":"t@hom.as"},"license":"ISC","bugs":{"url":"https://gitlab.com/thomaslindstr_m/write-cookie/issues"},"homepage":"https://gitlab.com/thomaslindstr_m/write-cookie#README","gitHead":"02ae6feacd61b655b33aa8cdfb5e1cc5be5962b0","_id":"@amphibian/write-cookie@1.0.0","_shasum":"ce7a05b330986de44518d41fd3e57db904592a44","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.4.0","_npmUser":{"name":"amphibian","email":"t@hom.as"},"dist":{"shasum":"ce7a05b330986de44518d41fd3e57db904592a44","tarball":"https://registry.npmjs.org/@amphibian/write-cookie/-/write-cookie-1.0.0.tgz","integrity":"sha512-Ey6SASd6qawDMkJB10/ixmi9Vy2ocvj0xyA1JwjBvFysnKpsjq5eWSI9lKRTThSPXvWLyjSQrHtEozjcI/1skQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDrSKMbwCM4gaEgfr3+wvIv2hcNpfjY21ZKQScIKqdoGAIhAP1WBZ2GkrxFxGoZGVNjibPEUgj2/dRby68VQA+NXI0y"}]},"maintainers":[{"name":"amphibian","email":"t@hom.as"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/write-cookie-1.0.0.tgz_1471956950032_0.009480585809797049"},"directories":{}},"1.0.1":{"name":"@amphibian/write-cookie","version":"1.0.1","description":"write browser cookie","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+ssh://git@gitlab.com/thomaslindstr_m/write-cookie.git"},"author":{"name":"Thomas Lindstrom","email":"t@hom.as"},"license":"ISC","bugs":{"url":"https://gitlab.com/thomaslindstr_m/write-cookie/issues"},"homepage":"https://gitlab.com/thomaslindstr_m/write-cookie#README","_id":"@amphibian/write-cookie@1.0.1","_shasum":"4d18c3be7932373572ec4ea030c27e93f931592e","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.2.0","_npmUser":{"name":"amphibian","email":"t@hom.as"},"dist":{"shasum":"4d18c3be7932373572ec4ea030c27e93f931592e","tarball":"https://registry.npmjs.org/@amphibian/write-cookie/-/write-cookie-1.0.1.tgz","integrity":"sha512-m3HY8fFtoM/4bTkU1Y3OOUPfu4jx2lD1QFCIaTzIl519f2ZYku+l415EPjhQBTTCDpnjABuE1sfpsttW4D5M4Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICFsCoQ3da7AyN6UskHiCqtsWRW6mYjRYRyTsarZ8K8TAiEAu5y1tFwlmxo41dmeBl5HGPhHCfJ6gX2J3ZkKwO0+Ydk="}]},"maintainers":[{"name":"amphibian","email":"t@hom.as"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/write-cookie-1.0.1.tgz_1481729120330_0.9526065730024129"},"directories":{}},"1.1.0":{"name":"@amphibian/write-cookie","version":"1.1.0","description":"write browser cookie","main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"git+ssh://git@gitlab.com/thomaslindstr_m/write-cookie.git"},"author":{"name":"Thomas Lindstrom","email":"t@hom.as"},"license":"ISC","bugs":{"url":"https://gitlab.com/thomaslindstr_m/write-cookie/issues"},"homepage":"https://gitlab.com/thomaslindstr_m/write-cookie#README","gitHead":"c7ec91c3d717553bcdbab663a757348bb6c54385","_id":"@amphibian/write-cookie@1.1.0","_nodeVersion":"14.18.0","_npmVersion":"6.14.15","dist":{"integrity":"sha512-wHefbssG16yYxDVPk75lLNWxowurWBDCiQpujYEstk5quittP/yaHDychCUFvg58hQaWFVF8FYdThphVAdef3w==","shasum":"0c455f64b497caca3505efda80a8c0448f5566bb","tarball":"https://registry.npmjs.org/@amphibian/write-cookie/-/write-cookie-1.1.0.tgz","fileCount":6,"unpackedSize":9335,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzFQcCRA9TVsSAnZWagAA+JsP/0qRNCiSoB4Klokw3uVZ\nEN/1xZv8Nre3ugua909XmNuvwIT1CTrwGug8Ee4BPYfHZ1Xt9FdbWo+TZFGH\narnpmQrwo5Po4Xht9EmGSi1NyGGI8hx+jHU6lpU8akK4iV3ICGU7EYW+VuX9\ndAQ6FdUNfAhmwRotsYa1D0WehdJA0o9iYTF6THVzcppw0ATHe2Y3G9qchZ7A\nAdBrYCoFc4o/q0xFe3iNYs9oMNujdFitQdESA9ohqk0cpGnVFVVsMaZ7nCsg\ntm5Oy+Hz7IzvmNA+BD4drc8tv58YPpKXW7lItPhu6LjWnNIoVdmFNp6X+9UT\np5H9g8ogm9EjrcU5Z5Oqw5l/vMZ5rVgRsNBUHa49tDzvR0Uw4FYyxBjgmThB\nRGF4YM94+SdDyqszSuWzkJRCw7djeFnGTCq3aHjZV8B+c6tmGvxHSaa3eTEG\ndpeq6vMe+8A+xpVz0ikWLneN8B4H8iodP2N0+L+kcsWxpNJvoYfr80ZnucV4\ndgUTzogWDEo/QAngblNP4Be8gLKYM5IEbJX/Zh+3Ezep5MFBE85L19AcbV7B\nNxt96QrcfnpqFt1AR8Efc7UcDh12AtBYOml7U7sabLKkJI72pGcn9wg2sx5e\nBmKbtL2jbqsZEy8vIreHZBcx4Jr1F3ildQuiA/4KwI6CwKZj/w44S4MZntFK\nn5Ke\r\n=KT4W\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFlxzm7f5lH+qQmQNeTf6sW2aVwEzZrcoMVwj6DyJqZ9AiA7cvJhKjhvJlKSA0lgueMEIfNRQ0L6R3vMlf96x6rQ+Q=="}]},"_npmUser":{"name":"thomaslindstr_m","email":"t@hom.as"},"directories":{},"maintainers":[{"name":"thomaslindstr_m","email":"t@hom.as"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/write-cookie_1.1.0_1633957376110_0.5719176084201434"},"_hasShrinkwrap":false}},"readme":"# write-cookie\n\n[![build status](https://gitlab.com/thomaslindstr_m/write-cookie/badges/master/build.svg)](https://gitlab.com/thomaslindstr_m/write-cookie/commits/master)\n\nwrite browser cookie\n\n```\nnpm install @amphibian/write-cookie\n```\n\n## Arguments\n\n### `name` **String**\n\nCookie name.\n\n### `value` **String**\n\nCookie value. Will be URL encoded.\n\n### `options` **Object**\n\nOptions for setting the cookie.\n\n- `expiration` **Date**: Cookie expiration date. 1 year from *now* is the default.\n- `domain` **String**: Cookie domain. Current hostname without subdomains is the default, eg. `npmjs.org`.\n- `path` **String**: Cookie path. `/` is the default.\n\n\n## Example\n\n```javascript\nvar writeCookie = require('@amphibian/write-cookie');\n\n// By default, cookies live for a year.\nwriteCookie('test_cookie', 'test_value');\n\n// This can be overridden using `options`\nwriteCookie('test_cookie2', 'test_value2', {\n    expiration: new Date((new Date()).getTime() + (1000 * 60 * 60)) // 1 hour\n});\n\n// By default, the cookie domain is set to the current hostname without\n// subdomains included. Override this using the `domains` option\nwriteCookie('test_cookie3', 'test_value3', {\n    domains: 'my-domain.com'\n});\n```\n","maintainers":[{"name":"thomaslindstr_m","email":"t@hom.as"}],"time":{"modified":"2022-06-12T14:39:52.916Z","created":"2016-08-23T12:55:52.321Z","1.0.0":"2016-08-23T12:55:52.321Z","1.0.1":"2016-12-14T15:25:22.360Z","1.1.0":"2021-10-11T13:02:56.235Z"},"homepage":"https://gitlab.com/thomaslindstr_m/write-cookie#README","repository":{"type":"git","url":"git+ssh://git@gitlab.com/thomaslindstr_m/write-cookie.git"},"author":{"name":"Thomas Lindstrom","email":"t@hom.as"},"bugs":{"url":"https://gitlab.com/thomaslindstr_m/write-cookie/issues"},"license":"ISC","readmeFilename":"README.md"}