# @blakeembrey/template

> Fast and simple string template library

Latest version **1.2.0** (published 2024-09-03) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @blakeembrey/template
pnpm add @blakeembrey/template
yarn add @blakeembrey/template
bun add @blakeembrey/template
```

## Health

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

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

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.0 |
| Published | 2024-09-03 |
| First published | 2019-02-17 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 14.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 7 |
| Author | Blake Embrey |
| Maintainers | blakeembrey |
| Keywords | string, template, curly, bracket |

## Links

- npm: https://www.npmjs.com/package/@blakeembrey/template
- Repository: https://github.com/blakeembrey/js-template
- Issues: https://github.com/blakeembrey/js-template/issues
- npm.io page: https://npm.io/package/@blakeembrey/template

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 1.2.0 (latest) — 2024-09-03
- 1.1.0 — 2022-03-07
- 1.0.0 — 2019-02-17

## README

# Template

[![NPM version](https://img.shields.io/npm/v/@blakeembrey/template.svg?style=flat)](https://npmjs.org/package/@blakeembrey/template)
[![NPM downloads](https://img.shields.io/npm/dm/@blakeembrey/template.svg?style=flat)](https://npmjs.org/package/@blakeembrey/template)
[![Build status](https://img.shields.io/github/actions/workflow/status/blakeembrey/js-template/ci.yml?branch=main)](https://github.com/blakeembrey/js-template/actions/workflows/ci.yml?query=branch%3Amain)
[![Test coverage](https://img.shields.io/coveralls/blakeembrey/js-template.svg?style=flat)](https://coveralls.io/r/blakeembrey/js-template?branch=master)

> Fast and simple string template library.

## Installation

```
npm install @blakeembrey/template --save
```

## Usage

```js
import { template } from "@blakeembrey/template";

const fn = template("Hello {{name}}!");

fn({ name: "Blake" }); //=> "Hello Blake!"
```

## TypeScript

This module uses [TypeScript](https://github.com/Microsoft/TypeScript) and publishes type definitions on NPM.

## License

Apache 2.0

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