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

  1. If using this in a custom module, run composer require drupal/js_cookie from your project root.
  2. If using this in a contributed module, make sure to list js_cookie:js_cookie in your module's .info.yml file dependencies. If your contributed module also has a manual composer.json file, make sure to add a require dependency on "drupal/js_cookie": "^1.0".
  3. Replace any of your .libraries.yml dependencies on core/js-cookie with js_cookie/js-cookie.
Short name
js_cookie