Preparing for system design interviews?  Try bugzed.com →

cookie-lite: Lightweight Cookie Parser and Serializer

JSON →
library 0.0.2 ·javascript
verified Jun 17, 2026

cookie-lite is a super lightweight JavaScript library designed for parsing and serializing HTTP cookie strings. It serves as a friendly fork of the `lightcookie` package, which was deprecated by its original author. The library focuses on efficiency and a minimal footprint, utilizing JavaScript regular expressions for its parsing logic, making it a smaller and faster alternative compared to more feature-rich cookie handling packages. Currently at version 0.0.2, it supports Node.js environments from version 18 onwards. Its primary differentiator is its minimal resource consumption and speed for fundamental cookie operations, suitable for applications where performance and size are critical. It offers straightforward methods for converting raw cookie strings into objects and vice versa, providing core functionality without extensive configuration or advanced features like signed cookies or complex attribute validation. Its simple API aims for ease of integration for basic cookie management tasks.

total hits 18
actors 5 distinct systems
last hit 17d ago human
GPTBot
4
Amazonbot
4
Script
1
ByteDance
1
Humans
5

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇸🇬 Singapore · 🇰🇷 South Korea · VN