1.0.7 • Published 2 years ago
x.web.cookie.11 v1.0.7
#install
npm i x.web.cookie.11
#cookie
let cookie = require('x.web.cookie.11').cookie;
new cookie(toCookieDirPathName); // default "./cookie"
new cookie().write(request.headers);
new cookie().read(`https://localhost/` || {host: 'localhost', path:'/'}); // return ['name_1=true', 'name2=value_2'];