3 ms·
You also got my own cookies library https://github.com/franciscop/cookies.js https://github.com/franciscop/cookies.js at 107 lines (97 LoC), with the minified+g
by franciscop 10y ago
You also got my own cookies library https://github.com/franciscop/cookies.js https://github.com/franciscop/cookies.js at 107 lines (97 LoC), with the minified+gzipped version being 846 bytes. It can be easily copy/pasted into your code if you don't want the overhead of an extra request, or just using unpkg CDN:
<script src="https://unpkg.com/cookiesjs@1"></script>