# tmpl

> JavaScript micro templates.

Latest version **1.0.5** (published 2021-09-07) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install tmpl
pnpm add tmpl
yarn add tmpl
bun add tmpl
```

## Health

**Score 23/100 (F)** — status: abandoned.

Positive: has types package; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2021-09-07 |
| First published | 2011-08-08 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | separate (@types/tmpl) |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 20 |
| Author | Naitik Shah |
| Maintainers | daaku |

## Links

- npm: https://www.npmjs.com/package/tmpl
- Repository: https://github.com/daaku/nodejs-tmpl
- Issues: https://github.com/daaku/nodejs-tmpl/issues
- npm.io page: https://npm.io/package/tmpl

## Recent versions

- 1.0.5 (latest) — 2021-09-07
- 1.0.4 — 2015-03-28
- 1.0.3 — 2015-03-04
- 1.0.1 — 2011-08-17
- 1.0.0 — 2011-08-08

## README

tmpl [![Build Status](https://secure.travis-ci.org/nshah/nodejs-tmpl.png)](http://travis-ci.org/nshah/nodejs-tmpl)
====

Simple string formatting using `{}`.

```javascript
assert.equal(
  tmpl('the answer is {answer}', { answer: 42 }),
  'the answer is 42')
```

---
_Source: https://npm.io/package/tmpl · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
