{"name":"xhr2-cookies","version":"1.1.0","author":{"name":"Ionut Costica","email":"ionut.costica@gmail.com"},"license":"MIT","description":"XMLHttpRequest polyfill for node.js","repository":{"type":"git","url":"git://github.com/souldreamer/xhr2-cookies.git"},"keywords":["XMLHttpRequest","cookies","xhr2"],"main":"dist/index.js","types":"dist/index.d.ts","dependencies":{"cookiejar":"^2.1.1"},"devDependencies":{"@types/body-parser":"^1.16.8","@types/cookie-parser":"^1.4.1","@types/express":"^4.0.39","@types/morgan":"^1.7.35","@types/node":"^6","ava":"^0.23.0","ava-ts":"^0.23.0","body-parser":"^1.18.2","cookie-parser":"^1.4.3","express":"^4.16.2","morgan":"^1.9.0","ts-loader":"^2.3.4","ts-node":"^3.3.0","typescript":"^2.5.2","webpack":"^3.5.5"},"scripts":{"prepare":"tsc","test":"tsc -p ./test && ava-ts -v"},"ava":{"files":["test/*.spec.ts"],"source":["*.ts","!dist/**/*"]},"_id":"xhr2-cookies@1.1.0","dist":{"shasum":"7d77449d0999197f155cb73b23df72505ed89d48","tarball":"http://registry-npm.ywwl.com/xhr2-cookies/download/xhr2-cookies-1.1.0.tgz","integrity":"sha512-hjXUA6q+jl/bd8ADHcVfFsSPIf+tyLIjuO9TwJC9WI6JP2zKcS7C+p56I9kCLLsaCiNT035iYvEUUzdEFj/8+g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGdWLvzD3g8CWtEugLHUrc0tQa7/aeN0Ls2eA4XleJpwAiEAtBYSq7loKK7GZTFdGQlP/enBMhEupysrMIBgbG9moXo="}],"size":12109,"noattachment":false,"key":"/xhr2-cookies/-/xhr2-cookies-1.1.0.tgz"},"maintainers":[{"name":"souldreamer","email":"ionut.costica@gmail.com"}],"_npmUser":{"name":"souldreamer","email":"ionut.costica@gmail.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xhr2-cookies-1.1.0.tgz_1510703334003_0.14283443125896156"},"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":1510703334080,"_cnpm_publish_time":1510703334080,"dist-tags":{"latest":"1.1.0"}}