ScottHamper / Cookies

JavaScript Client-Side Cookie Manipulation Library
The Unlicense
1.77k stars 170 forks source link

Comparing to `js-cookie` #60

Closed tompazourek closed 8 years ago

tompazourek commented 8 years ago

Hi Scott, awesome work here, thank you.

I was wondering about how the library compares to js-cookie, which seems like a very similar project.

I'd be happy to have some insights as to why use one over another or what makes this library better.

Thanks for any information on this :+1:

Tom

ScottHamper commented 8 years ago

Hey Tomáš,

I briefly discuss some differences in Issue #54. Either library will likely serve your use cases satisfactorily.

When I originally created Cookies.js, js-cookie didn't exist yet - it was still jquery.cookie. Back then, not having a dependency on jQuery was a huge plus. These days, js-cookies is a great, mature alternative.

tompazourek commented 8 years ago

Thanks for clearing that out. Just what I was looking for.