UNPKG
@t2ee/cookieman
Version:
latest (0.0.5)
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
t2ee cookie middleware
github.com/t2ee/cookieman
t2ee/cookieman
@t2ee/cookieman
/
dist
/
Cookie.js
14 lines
•
320 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
"use strict"
;
class
Cookie
{
constructor
(
) {
this
.
expires
=
new
Date
();
this
.
secure
=
false
;
this
.
httpOnly
=
false
; }
clear
(
) {
this
.
key
=
null
; } }
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
default
=
Cookie
;
//# sourceMappingURL=Cookie.js.map