tmpl 
Simple string formatting using {}.
assert.equal(
tmpl('the answer is {answer}', { answer: 42 }),
'the answer is 42')
| Лицензия |
Лицензия
BSD 3-Clause
|
|---|---|
| Группа | Группаorg.webjars.npm |
| Идентификатор | Идентификаторtmpl |
| Последняя версия | Последняя версия1.0.4 |
| Дата | Дата |
| Тип | Типjar |
| Описание |
Описаниеtmpl
WebJar for tmpl
|
| Ссылка на сайт |
Ссылка на сайт |
| Система контроля версий |
Система контроля версий |
| Имя Файла | Размер |
|---|---|
| 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 |
| Обзор |
<!-- 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')