Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xlsdg/edit-this-cookie-to-tough-cookie
Convert EditThisCookie json format to ToughCookie json file
https://github.com/xlsdg/edit-this-cookie-to-tough-cookie
cookie toughcookie-json
Last synced: about 1 month ago
JSON representation
Convert EditThisCookie json format to ToughCookie json file
- Host: GitHub
- URL: https://github.com/xlsdg/edit-this-cookie-to-tough-cookie
- Owner: xlsdg
- License: mit
- Created: 2016-11-14T05:45:34.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-12-26T01:56:13.000Z (about 8 years ago)
- Last Synced: 2024-08-09T04:56:47.257Z (5 months ago)
- Topics: cookie, toughcookie-json
- Language: JavaScript
- Size: 10.7 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# edit-this-cookie-to-tough-cookie
Convert EditThisCookie json format to ToughCookie json file## Installation
```
$ npm install --save etc2tc
```## Usage
```
const etc2tc = require('etc2tc');
```Use Request.js and Tough-Cookie-Kit, the **etc2tc** method:
```
let gCookie = Request.jar(new CookieKit(etc2tc('cookies.txt', 'cookies.json')));
```# License
MIT