Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

LibreJS

Security covered Under active development 13 sites

The LibreJS module tracks and displays the license and source code URLs for JavaScript files used on your Drupal site, enhancing compatibility with the LibreJS browser extension. It helps ensure that aggregated JavaScript files meet GPL compatibility requirements, preventing aggregation of non-compliant libraries.

LibreJS module maintains a list of the license and source code URL of each JavaScript file used by the site. This list can be viewed at /librejs/jslicense by all roles granted the "access JavaScript license information" permission. LibreJS module will only discover JavaScript files as they are loaded when users visit various pages, so you will have to visit this page repeatedly to see additional JavaScript files which have been detected.

LibreJS module provides compatibility with the LibreJS browser extension. To ensure that aggregated JavaScript is accepted by LibreJS browser extension, libraries which are not flagged as GPL-compatible will no longer be aggregated when LibreJS module is enabled.

On Drupal 10.1 and later, LibreJS module does not require any configuration, as each library can specify its license identifier, license URL, source URL ("remote"), and GPL compatibility.

The Drupal 7 version of LibreJS module allows site administrators to configure the license and source code URL of each JavaScript file used by the site, and adds metadata to pages indicating that all inline JavaScript in the page is GPL v3+.

Drupal 11 · not 10

Ask your assistant about LibreJS

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
9
Tracked since
Apr 2024
Latest release
1 month ago
Releases (12 mo)
1 ▼ from 2
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
2.2.2 Stable 11 Aug 27, 2026
2.2.1 Stable 11 Oct 1, 2025
2.2.0 Stable 11 Dec 17, 2024
2.1.4 Stable 10–11 May 22, 2024
2.1.3 Stable 10 Apr 27, 2024
2.1.2 Stable 10 Apr 11, 2024
2.1.1 Stable 10 Apr 10, 2024
2.1.0 Stable 10 Apr 10, 2024
2.0.5 Stable 8–10 Apr 9, 2024