# most-web-jade

> Most Web Framework Jade View Engine

Latest version **1.0.1** (published 2016-03-22) · BSD-3-Clause license · 0 weekly downloads

## Install

```sh
npm install most-web-jade
pnpm add most-web-jade
yarn add most-web-jade
bun add most-web-jade
```

## 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 | 2016-03-22 |
| First published | 2016-03-21 |
| Weekly downloads | 0 |
| License | BSD-3-Clause |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | k.barbounakis |
| Keywords | most, web, jade, view, engine, render, mvc |

## Links

- npm: https://www.npmjs.com/package/most-web-jade
- Repository: https://github.com/kbarbounakis/most-web-jade
- Issues: https://github.com/kbarbounakis/most-web-jade/issues
- npm.io page: https://npm.io/package/most-web-jade

## Dependencies (2)

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

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2016-03-22
- 1.0.0 — 2016-03-21

## README

# most-web-jade
Most Web Framework Jade View Engine

![MOST Web Framework Logo](https://www.themost.io/assets/images/most_logo_sw_240.png)

A view engine for [jade](https://github.com/pugjs/pug) templates which are going to be used in web applications based on [MOST Web Framework](https://github.com/kbarbounakis/most-web)

## Install

$ npm install most-web-jade

## Usage

Register view engine by adding the following node in config/app.json engines collection:

    "engines": [
        ...
        {
            "name": "Jade View Engine", "extension": "jade", "type": "most-web-jade"
        }
        ...
        ]
    }

Create a new controller (app/controllers/example-controller.js):

    var web = require("most-web"), util = require("util");

    function ExampleController() {
        ExampleController.super_.call(this);
    }

    util.inherits(ExampleController, web.controllers.HttpBaseController);

    ExampleController.prototype.hello = function(callback) {
        return callback(null, this.result({ name:"Thomas" }));
    }

Create a jade template:

    h1 This is a Jade template
    h2 Hello #{data.name}

and place it in views folder:

    app
        + views
            + example
                hello.html.jade

and finally execute the action http://127.0.0.1:3000/example/hello.html

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