# substring-template-language

> A tiny template language for escaping substrings of longer strings

Latest version **1.0.1** (published 2015-09-07) · ISC license · 0 weekly downloads

## Install

```sh
npm install substring-template-language
pnpm add substring-template-language
yarn add substring-template-language
bun add substring-template-language
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2015-09-07 |
| First published | 2015-09-07 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Serge Herkül |
| Maintainers | herkyl |

## Links

- npm: https://www.npmjs.com/package/substring-template-language
- npm.io page: https://npm.io/package/substring-template-language

## Dependencies (2)

- [trim](https://npm.io/package/trim.md) 0.0.1
- [escape-html](https://npm.io/package/escape-html.md) ^1.0.3

## Recent versions

- 1.0.1 (latest) — 2015-09-07
- 1.0.0 — 2015-09-07

## README

# Substring Template Language
A tiny template language for escaping substrings of longer strings

## Usage

```javascript
var subTemplate = require('substring-template-language');

// Escaping
subTemplate('Lorem <br> ipsum dolor {{<br>}} sit amet'); // 'Lorem <br> ipsum dolor &lt;br&gt; sit amet'

// Escaping and trimming
subTemplate('Lorem <br> ipsum dolor {{!  <br>  }} sit amet'); // 'Lorem <br> ipsum dolor &lt;br&gt; sit amet'
```

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