| [](https://sling.apache.org) |
| |
|  [](https://ci-builds.apache.org/job/Sling/job/modules/job/sling-org-apache-sling-scripting-sightly-js-provider/job/master/) [](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-scripting-sightly-js-provider) [](https://sonarcloud.io/dashboard?id=apache_sling-org-apache-sling-scripting-sightly-js-provider) [](https://www.javadoc.io/doc/org.apache.sling/org.apache.sling.scripting.sightly.js.provider) [](https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.apache.sling%22%20a%3A%22org.apache.sling.scripting.sightly.js.provider%22) [](https://github.com/apache/sling-aggregator/blob/master/docs/groups/scripting.md) [](https://www.apache.org/licenses/LICENSE-2.0) |
| |
| # Apache Sling Scripting HTL JavaScript Use Provider |
| |
| This module is part of the [Apache Sling](https://sling.apache.org) project. |
| |
| This bundle allows HTL's Use API to access JS scripts. It also wraps Sling's JS engine in a simulated event loop. |
| |
| The bundle also contains a bindings values provider that adds an API layer accessible from HTL & JS. The implementation of that API can be found in `src/main/resources/SLING-INF`. |