Registry / web-framework / twirl-api-2-13

twirl-api-2-13

JSON →
library1.6.10javamavenunverified

Twirl is the Play framework's template engine, providing a Scala-based DSL for generating HTML, XML, and other text formats.

<dependency> <groupId>com.typesafe.play</groupId> <artifactId>twirl-api_2.13</artifactId> <version>1.6.10</version> </dependency>
INSTALL
IMPORT
SIG · TWIRL-API-2-13
T
twirl-api-2-13
web-frameworkjavav1.6.10
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Html
✓ play.twirl.api.Html

Creates an Html object from a string and prints its body.

import play.twirl.api.Html; public class Quickstart { public static void main(String[] args) { Html html = Html.apply("<h1>Hello, World!</h1>"); System.out.println(html.body()); } }
Debug
Known issues
breakingTwirl API versions are tied to Scala versions; ensure you use the correct artifact for your Scala version (e.g., _2.13).
fix
Use the artifact with the matching Scala version suffix (e.g., twirl-api_2.13 for Scala 2.13).
affects: all
Upgrade
Version history
1.6.10latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
twirl-api-2-13 — mvn dependency:get twirl-api-2-13 · libregistry