Skip to content

JS Cookie and Drupal 11

Ready

The latest stable release, 2.0.1, declares a core version requirement of ^11.2, which covers Drupal 11.

Provides a Drupal library definition for the JavaScript Cookie library (js-cookie) after it was deprecated in Drupal 10 and removed from Drupal 11 . Instructions Installing this module and the library dependency Follow the README.md instructions Using this module as dependency for the js-cookie library (as developer) If using this in a custom module, run composer require drupal/js_cookie from

Key facts

Project
js_cookie
Latest stable with Drupal 11 support
2.0.1 (15 Dec 2025)
Core version requirement
^11.2
Maintenance status
Minimally maintained
Reported installs
63,782
Last synced from drupal.org
21 Sept 2026

Every field above comes from the drupal.org API. The Drupal 11 status is derived from the core version requirement across this project's releases.

Source: drupal.org/project/js_cookie