# lit-mustache

> Code Mustache Templates literal

Latest version **0.0.0-pre0** (published 2019-02-08) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install lit-mustache
pnpm add lit-mustache
yarn add lit-mustache
bun add lit-mustache
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.0-pre0 |
| Published | 2019-02-08 |
| First published | 2019-02-08 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Frank Lemanschik |
| Maintainers | frank-dspeed |
| Keywords | literal, mustache, template |

## Links

- npm: https://www.npmjs.com/package/lit-mustache
- Repository: https://github.com/direktspeed/lit-mustache
- Homepage: https://github.com/direktspeed/lit-mustache#readme
- Issues: https://github.com/direktspeed/lit-mustache/issues
- npm.io page: https://npm.io/package/lit-mustache

## Recent versions

- 0.0.0-pre0 (latest) — 2019-02-08

## README

# lit-mustache

## Usage
```js
const mustache = require('lit-mustache')
const template = (scope) => mustache`<p>{{name}}</p>`(scope)
```

## syntax highlighting for vscode
https://github.com/direktspeed/vscode-lit-mustache

## TODO
Will Work
mustache should have access to this as scope and so use its name
needs evaluation whats the this context when imported and used as function mustache and fat arrow
```js
const mustache = require('lit-mustache');
const template = (name) => mustache`<p>{{name}}</p>`;

```

need to add some more tests

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