# gerkon-jade

> Jade middleware for Gerkon

Latest version **0.0.3** (published 2016-03-03) · WTFPL license · 0 weekly downloads

## Install

```sh
npm install gerkon-jade
pnpm add gerkon-jade
yarn add gerkon-jade
bun add gerkon-jade
```

## 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.3 |
| Published | 2016-03-03 |
| First published | 2016-02-26 |
| Weekly downloads | 0 |
| License | WTFPL |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | frux |
| Maintainers | frux |
| Keywords | jade, gerkon |

## Links

- npm: https://www.npmjs.com/package/gerkon-jade
- npm.io page: https://npm.io/package/gerkon-jade

## Dependencies (1)

- [jade](https://npm.io/package/jade.md) ^1.11.0

## Recent versions

- 0.0.3 (latest) — 2016-03-03
- 0.0.2 — 2016-03-03
- 0.0.1 — 2016-02-26

## README

# gerkon-jade

```js
const jade = require('gerkon-jade');

app.use(jade);

// Render from string
app.get('/test1', function(req, res){
	res.render('jade string', {
		pageTitle: 'My page title'
	});
});

// Render from file
app.get('/test2', function(req, res){
	res.renderTemplate(__dirname + '/templates/index.jade', {
		pageTitle: 'My page title'
	})
		.then(() => {
			//Page rendered
		})
		.catch(err => {
			//Error happened
		});
});
```

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