# template-html-loader

> Parse templates to html - loader for webpack

Latest version **1.0.0** (published 2016-12-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install template-html-loader
pnpm add template-html-loader
yarn add template-html-loader
bun add template-html-loader
```

## 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.0 |
| Published | 2016-12-08 |
| First published | 2014-01-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 25 |
| Author | Jorik Tangelder |
| Maintainers | jtangelder |

## Links

- npm: https://www.npmjs.com/package/template-html-loader
- Repository: https://github.com/jtangelder/template-html-loader
- Homepage: https://github.com/jtangelder/template-html-loader#readme
- Issues: https://github.com/jtangelder/template-html-loader/issues
- npm.io page: https://npm.io/package/template-html-loader

## Dependencies (1)

- [loader-utils](https://npm.io/package/loader-utils.md) ~0.2.1

## Recent versions

- 1.0.0 (latest) — 2016-12-08
- 0.0.4 — 2016-12-08
- 0.0.3 — 2015-02-26
- 0.0.2 — 2014-01-24
- 0.0.1 — 2014-01-24

## README

template-html-loader
====================

Parse templates to html loader for webpack. It parses any template language supported
by [consolidate.js](https://github.com/visionmedia/consolidate.js), and returns the html.

You will still need to install the template engine. The script will try to detect
the template engine by the file extension. You can overwrite this by setting the engine parameter.

````js
loaders: [
  { test: /\.jade/, loader: "template-html-loader" },
  { test: /\.ejs/, loader: "template-html-loader" }
  { test: /\.mustache/, loader: "template-html-loader?engine=hogan" }
]
````

Available on NPM, `template-html-loader`.

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