Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
a friendly api for working with cookies #777
Please checkout https://github.com/lalitkapoor/request-cookies to see the api. The code is well documented too. It builds upon the really awesome work by @stash on https://github.com/goinstant/tough-cookie
Basically I've limited the API to what is necessary for this library and made some things more flexible. E.g. adding a cookie to the jar - you can now do this by passing in a cookie string, a json object or an instance of a