Installation
npm install app-cookie
yarn add app-cookie
Usage
var cookie = require('app-cookie');
cookie.set('foo', 'bar');
console.log(cooke.get('foo'));
cookie.remove('foo');
console.log(cooke.get('foo'));
Easy 😜
License
MIT
Web
A small library for setting/getting/removing cookies.
npm install app-cookie
yarn add app-cookie
var cookie = require('app-cookie');
cookie.set('foo', 'bar');
console.log(cooke.get('foo'));
cookie.remove('foo');
console.log(cooke.get('foo'));
MIT