awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
js-cookie avatar

js-cookie/js-cookie

0
View on GitHub↗
22,600 stars·2,051 forks·JavaScript·MIT·28 views

Js Cookie

js-cookie is a lightweight JavaScript library and browser storage interface used to create, read, and delete cookies. It provides a programmatic API for managing client-side data persistence and maintaining browser state across page refreshes.

The library includes capabilities for custom cookie encoding and the use of custom value converters to handle specific character formats. It also features a global attribute configuration system that allows default expiration, security, and scope rules to be applied automatically to all cookie operations.

The tool covers general cookie management including data retrieval, precise deletion by path and domain, and expiration control via dates or numerical durations. It handles data serialization using URI encoding to ensure special characters are stored safely.

Features

  • Browser Cookie Management - Provides a comprehensive suite of tools to store, retrieve, and remove data from browser cookies to maintain state.
  • Cookie Handlers - Provides a programmatic API to create, read, and delete browser cookies for client-side state persistence.
  • Browser Storage Persistence - Saves user settings and session identifiers locally to maintain data across browser refreshes or closures.
  • Browser Storage - Provides a lightweight interface for manipulating HTTP cookies and handling character encoding for client-side storage.
  • Cookie Management - Provides a programmatic interface to create, read, and delete browser cookies without manual string parsing.
  • Cookie Deletion Utilities - Provides the ability to remove specific entries from browser storage by matching paths and domains.
  • Cookie Expiration Management - Allows precise control over cookie lifespan by assigning specific dates or durations.
  • Cookie Retrieval Utilities - Fetches the value of a specific named cookie or lists all available cookies from the browser.
  • Cookie Storage Management - Enables saving values in the browser with precise control over expiration, domain, and path.
  • Global Defaults - Provides a centralized mechanism for applying default attributes like expiration and security across all cookie operations.
  • Custom Value Encoders - Allows developers to replace default encoding logic with custom functions for specific character formats.
  • Cookie Value Converters - Translates non-standard characters or server-specific formats during cookie read and write operations.
  • Custom Cookie Encoders - Allows developers to define custom functions for encoding and decoding cookie data.
  • Global Cookie Attribute Defaults - Sets default expiration, security, and scope rules that automatically apply to every cookie operation.
  • Client-Side Storage - Simple, lightweight cookie manipulation.

Star history

Star history chart for js-cookie/js-cookieStar history chart for js-cookie/js-cookie

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does js-cookie/js-cookie do?

js-cookie is a lightweight JavaScript library and browser storage interface used to create, read, and delete cookies. It provides a programmatic API for managing client-side data persistence and maintaining browser state across page refreshes.

What are the main features of js-cookie/js-cookie?

The main features of js-cookie/js-cookie are: Browser Cookie Management, Cookie Handlers, Browser Storage Persistence, Browser Storage, Cookie Management, Cookie Deletion Utilities, Cookie Expiration Management, Cookie Retrieval Utilities.

Which projects share features with js-cookie/js-cookie?

Projects with overlapping indexed features include: carhartl/jquery-cookie — This project is a browser cookie utility and client-side storage library designed to manage small amounts of data… streamich/react-use — react-use is a collection of reusable state and effect hooks for managing common logic in React applications. It… mdn/webextensions-examples — This project is a reference library and collection of practical code samples for building browser extensions using… answerdotai/fasthtml — FastHTML is a full-stack Python web framework designed for building interactive web applications using pure Python. It… codeigniter4/codeigniter4 — CodeIgniter is a PHP web framework built on the Model-View-Controller pattern, designed for building full-stack web… juliencrn/usehooks-ts — usehooks-ts is a comprehensive collection of reusable TypeScript-based hooks designed for managing state, DOM events,…

Projects sharing features with Js Cookie

These projects share indexed features with Js Cookie. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • carhartl/jquery-cookiecarhartl avatar

    carhartl/jquery-cookie

    8,500View on GitHub↗

    This project is a browser cookie utility and client-side storage library designed to manage small amounts of data persisted in the user's web browser. It functions as a jQuery cookie manager, providing a simplified interface for reading, writing, and deleting cookies using the jQuery framework. The library includes a JSON cookie handler that automatically encodes and decodes complex objects into strings for storage. It allows for the management of data across sessions through the use of expiration dates, path restrictions, and domain scopes. The utility covers broader capabilities for client

    JavaScript
    View on GitHub↗8,500
  • streamich/react-usestreamich avatar

    streamich/react-use

    43,974View on GitHub↗

    react-use is a collection of reusable state and effect hooks for managing common logic in React applications. It serves as a comprehensive library for implementing state management patterns and wrapping various browser APIs into consistent hook interfaces. The project provides a specialized toolkit for DOM interaction and browser API integration, allowing components to track element dimensions, manage cookies, and monitor hardware sensors. It includes a suite of animation and timing utilities for physics-based numeric interpolation and frame-synced state updates. Beyond basic state managemen

    TypeScript
    View on GitHub↗43,974
  • mdn/webextensions-examplesmdn avatar

    mdn/webextensions-examples

    4,447View on GitHub↗

    This project is a reference library and collection of practical code samples for building browser extensions using WebExtensions APIs. It provides implementation guides and functional examples for core extension components, including content scripts, background processes, and browser action popups. The repository focuses on demonstrating specific implementation patterns for browser UI customization and web page manipulation. It includes samples for creating sidebars, context menus, and options pages, as well as techniques for injecting scripts and styles to alter DOM elements and page appeara

    JavaScript
    View on GitHub↗4,447
  • answerdotai/fasthtmlAnswerDotAI avatar

    AnswerDotAI/fasthtml

    6,846View on GitHub↗

    FastHTML is a full-stack Python web framework designed for building interactive web applications using pure Python. It functions as an HTMX integration framework and a Python HTML domain-specific language, allowing developers to generate HTML structures using native objects and functions instead of external templating files. The framework is distinguished by its native support for real-time bidirectional communication via WebSockets and Server-Sent Events, enabling server-side updates to be pushed to the browser without full page reloads. It further integrates identity management through OAut

    Jupyter Notebook
    View on GitHub↗6,846
Compare all 30 related projects→