Convert EditThisCookie json format to ToughCookie json file
$ npm install --save etc2tc
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')));
MIT