Closed Tyxz closed 8 years ago
empty string is better than null. Especially because there is no difference between empty cookie and null, but null might end up in an error imho. Also added a check method to see if a cookie already exists. Might be useful.
Sounds fair to me!
@carcamano Could you reveiw to accept the pull and publish a new minor version on npm?
[]'s
Published. Thanks @Tyxz
empty string is better than null. Especially because there is no difference between empty cookie and null, but null might end up in an error imho. Also added a check method to see if a cookie already exists. Might be useful.