Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

request-cookie

simov169Apache-2.01.0.1

Cookie store for request-compose

cookie

readme

request-cookie

npm-version test-ci-img test-cov-img snyk-vulnerabilities

Cookie store for request-compose

var compose = require('request-compose')
var cookie = require('request-cookie')
compose.Request.cookie = cookie.Request
compose.Response.cookie = cookie.Response
var request = compose.client

;(async () => {
  var cookie = {}
  var {body} = await request({
    url: 'http://website.com',
    cookie,
  })
})()