All Projects → ivanmarban → tough-cookie-file-store

ivanmarban / tough-cookie-file-store

Licence: MIT license
A JSON file store implementation for tough-cookie module

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to tough-cookie-file-store

lightcookie
Node cookie parsing and serialization
Stars: ✭ 22 (+10%)
Mutual labels:  cookie
ifto
A simple debugging module for AWS Lambda (λ) timeout
Stars: ✭ 72 (+260%)
Mutual labels:  node-js
node-express-reddit-clone
Build a Node, Express and MySQL-based clone of Reddit for DecodeMTL web development bootcamp
Stars: ✭ 28 (+40%)
Mutual labels:  cookie
learn-how-to-build-a-mean-stack-application
The goal of this tutorial is to guide you through the coding of a full-stack JavaScript example application project and connecting a backend API to an Angular 5 front-end application employing the MEAN stack.
Stars: ✭ 55 (+175%)
Mutual labels:  node-js
Gyromina
Gyromina, a multipurpose Discord bot with fun + function all in one
Stars: ✭ 97 (+385%)
Mutual labels:  node-js
ctrip spider
Scrape Learning (ctrip)
Stars: ✭ 77 (+285%)
Mutual labels:  cookie
Cookie-Clicker-Source-Code
Cookie Clicker source code for... educational purposes...
Stars: ✭ 74 (+270%)
Mutual labels:  cookie
dropbox-fs
📦 Node FS wrapper for Dropbox
Stars: ✭ 35 (+75%)
Mutual labels:  node-js
Max-Bot
Max Bot is an open-source bot made in node-js with discord-js. It Has Commands from fun to moderator.
Stars: ✭ 27 (+35%)
Mutual labels:  node-js
facturajs
Facturas digitales con AFIP Web Services y nodej
Stars: ✭ 68 (+240%)
Mutual labels:  node-js
win-ca
Get Windows System Root certificates
Stars: ✭ 78 (+290%)
Mutual labels:  node-js
CSRF-tutorial
Use Django To Introduce CSRF and Cookies , Session 📝
Stars: ✭ 49 (+145%)
Mutual labels:  cookie
pacNEM
pacNEM is a Browser PacMan game with NodeJS, Socket.io, Handlebars and NEM Blockchain
Stars: ✭ 20 (+0%)
Mutual labels:  node-js
Luki
[Deprecated] The official repository for Luki the Discord bot
Stars: ✭ 21 (+5%)
Mutual labels:  node-js
Retrofit2Samples
Retrofit2 Samples 与 Nodejs 服务端接口
Stars: ✭ 17 (-15%)
Mutual labels:  node-js
majo.exe
🚀 Discord bot for fun, memes, images, giveaway moderation, anime, NSFW and even more! With over 150 slash commands
Stars: ✭ 188 (+840%)
Mutual labels:  node-js
ChatBot
A W.I.P All-in-One Discord Bot
Stars: ✭ 32 (+60%)
Mutual labels:  node-js
egg-cookies
cookies module for egg, base on pillarjs/cookies
Stars: ✭ 28 (+40%)
Mutual labels:  cookie
live-plugin-manager
Plugin manager and installer for Node.JS
Stars: ✭ 172 (+760%)
Mutual labels:  node-js
HIMS
Hospital Information Management System create using Node Js
Stars: ✭ 41 (+105%)
Mutual labels:  node-js

tough-cookie-file-store

NPM

A JSON file store implementation for tough-cookie module

Version npm npm Downloads Tests Status Coverage Status dependencies Status JavaScript Style Guide Donate

Installation

$ npm install tough-cookie-file-store

Usage

const { CookieJar, Cookie } = require('tough-cookie')
const CookieFileStore = require('tough-cookie-file-store').FileCookieStore
const cookieJar = new CookieJar(new CookieFileStore('./cookie.json'))
const cookie = Cookie.parse('foo=bar; Domain=example.com; Path=/')
cookieJar.setCookie(cookie, 'http://example.com', function (error, cookie) {
  console.log(cookie)
})

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].