# templateify

> simple browserify v2 plugin to require template files

Latest version **0.0.1** (published 2013-10-10) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2013-10-10 |
| First published | 2013-10-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | sigod |
| Maintainers | sigod |
| Keywords | templateify, browserify, template, js, v2, plugin |

## Links

- npm: https://www.npmjs.com/package/templateify
- Repository: https://github.com/sigod/node-templateify
- Issues: https://github.com/sigod/node-templateify/issues
- npm.io page: https://npm.io/package/templateify

## Dependencies (1)

- [through](https://npm.io/package/through.md) ~2.3.4

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 0.0.1 (latest) — 2013-10-10

## README

# templateify

Simple [browserify v2][] plugin to require template files.

## usage
Install into your app:

    $ npm install templateify
Use it as browserify transform module with `-t`:

    $ browserify -t templateify main.js -o bundle.js

## example
Using with [mustache][]:

main.js:
``` js
var mustache = require('mustache');
var exampleTemplate = require('./example.template');

var view = {
	title: 'Templateify example',
	message: 'This is example!'
};

$('body').html(mustache.render(exampleTemplate, view));
```

example.template:
``` html
<h1>{{title}}</h1>
<p>{{message}}</p>
```

## license
MIT

[browserify v2]: https://github.com/substack/node-browserify
[mustache]: https://github.com/janl/mustache.js

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