tmpl 
Simple string formatting using {}.
assert.equal(
tmpl('the answer is {answer}', { answer: 42 }),
'the answer is 42')
| License |
License
BSD 3-Clause
|
|---|---|
| GroupId | GroupIdorg.webjars.npm |
| ArtifactId | ArtifactIdtmpl |
| Last Version | Last Version1.0.4 |
| Release Date | Release Date |
| Type | Typejar |
| Description |
Descriptiontmpl
WebJar for tmpl
|
| Project URL |
Project URL |
| Source Code Management |
Source Code Management |
| Filename | Size |
|---|---|
| tmpl-1.0.4.pom | |
| tmpl-1.0.4.jar | 4 KB |
| tmpl-1.0.4-sources.jar | 22 bytes |
| tmpl-1.0.4-javadoc.jar | 22 bytes |
| Browse |
<!-- https://jarcasting.com/artifacts/org.webjars.npm/tmpl/ -->
<dependency>
<groupId>org.webjars.npm</groupId>
<artifactId>tmpl</artifactId>
<version>1.0.4</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/tmpl/
implementation 'org.webjars.npm:tmpl:1.0.4'
// https://jarcasting.com/artifacts/org.webjars.npm/tmpl/
implementation ("org.webjars.npm:tmpl:1.0.4")
'org.webjars.npm:tmpl:jar:1.0.4'
<dependency org="org.webjars.npm" name="tmpl" rev="1.0.4">
<artifact name="tmpl" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='tmpl', version='1.0.4')
)
libraryDependencies += "org.webjars.npm" % "tmpl" % "1.0.4"
[org.webjars.npm/tmpl "1.0.4"]

Simple string formatting using {}.
assert.equal(
tmpl('the answer is {answer}', { answer: 42 }),
'the answer is 42')