jaywcjlove / cookie.js

:cookie: A simple, lightweight JavaScript API for handling browser cookies , it is easy to pick up and use, has a reasonable footprint(~2kb, gzipped: 0.95kb), and has no dependencies. It should not interfere with any JavaScript libraries or frameworks. https://jaywcjlove.github.io/cookie.js/
https://jaywcjlove.github.io/cookie.js
185 stars 55 forks source link

updated expires type #28

Closed dmison closed 2 years ago

dmison commented 2 years ago

set allows expires to be a string, number or Date so the type should reflect that

jaywcjlove commented 2 years ago

@dmison thx! Upgrade 2.1.2