{"name":"xhr2-cookies","version":"0.9.0","author":{"name":"Ionut Costica","email":"ionut.costica@gmail.com"},"license":"MIT","description":"XMLHttpRequest polyfill for node.js","keywords":["XMLHttpRequest","Cookies","xhr2"],"main":"dist/index.js","types":"dist/index.d.ts","dependencies":{"cookiejar":"^2.1.1"},"devDependencies":{"@types/node":"^6","ts-loader":"^2.3.4","typescript":"^2.5.2","webpack":"^3.5.5"},"scripts":{"prepare":"tsc"},"gitHead":"2973ccb412f3f9ee357d319b235a2edaac34b085","_id":"xhr2-cookies@0.9.0","_npmVersion":"5.5.1","_nodeVersion":"8.7.0","_npmUser":{"name":"souldreamer","email":"ionut.costica@gmail.com"},"dist":{"integrity":"sha512-kfXj2FSf+/70nu3HaVCRHKe7Hii0QJU8E1hdfU+7xlYyEzFxBoHFuu2Kj8UBBeTf7HgWYWJ2F3aRIZoWNrw+TQ==","shasum":"947834380c46fc9d28e4945d2f770e08b168d4e1","tarball":"http://registry-npm.ywwl.com/xhr2-cookies/download/xhr2-cookies-0.9.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDqNpczMMmbnIVXHp3sdCtzkCISEMhl1peKkNd6pXcPRAiB33fnv2Qczpgydp/lJd/WvDU9UnoCNxGyWmwHjXECtfQ=="}],"size":817,"noattachment":false,"key":"/xhr2-cookies/-/xhr2-cookies-0.9.0.tgz"},"maintainers":[{"name":"souldreamer","email":"ionut.costica@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xhr2-cookies-0.9.0.tgz_1510477330744_0.6786441071890295"},"directories":{},"readme":"# XMLHttpRequest polyfill for node.js\n\nBased on [https://github.com/pwnall/node-xhr2](https://github.com/pwnall/node-xhr2)\n\n* Adds support for cookies\n* Adds in-project TypeScript type definitions\n* Switched to TypeScript\n\n### Cookies\n\n* saved in `XMLHttpRequest.cookieJar`\n* saved between redirects\n* saved between requests\n* can be cleared by doing:\n```typescript\nimport * as Cookie from 'cookiejar';\nXMLHttpRequest.cookieJar = Cookie.CookieJar();\n```\n\n### Aims\n\n* Provide full XMLHttpRequest features to Angular Universal HttpClient &\n`node-angular-http-client`\n\n### Changelog\n\n#### `1.1.0`\n* added saving of cookies between requests, not just redirects\n* bug fixes\n* most tests from `xhr2` ported over and passing\n","publish_time":1510477331751,"_cnpm_publish_time":1510477331751,"dist-tags":{"latest":"1.1.0"}}