# @koex/ejs

> ejs for koa

Latest version **0.0.1** (published 2018-12-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install @koex/ejs
pnpm add @koex/ejs
yarn add @koex/ejs
bun add @koex/ejs
```

## 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.1 |
| Published | 2018-12-11 |
| First published | 2018-12-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 6.9 KB |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Zero |
| Maintainers | uniquecolesmith |

## Links

- npm: https://www.npmjs.com/package/@koex/ejs
- Repository: https://github.com/koexjs/ejs
- Homepage: https://github.com/koexjs/ejs#readme
- Issues: https://github.com/koexjs/ejs/issues
- npm.io page: https://npm.io/package/@koex/ejs

## Dependencies (3)

- [ejs](https://npm.io/package/ejs.md) ^2.6.1
- [@zcorky/is](https://npm.io/package/@zcorky/is.md) ^1.0.1
- [@zcorky/lru](https://npm.io/package/@zcorky/lru.md) ^1.0.2

## Recent versions

- 0.0.1 (latest) — 2018-12-11

## README

# ejs

[![NPM version](https://img.shields.io/npm/v/@koex/ejs.svg?style=flat)](https://www.npmjs.com/package/@koex/ejs)
[![Coverage Status](https://img.shields.io/coveralls/koexjs/ejs.svg?style=flat)](https://coveralls.io/r/koexjs/ejs)
[![Dependencies](https://img.shields.io/david/koexjs/ejs.svg)](https://github.com/koexjs/ejs)
[![Build Status](https://travis-ci.com/koexjs/ejs.svg?branch=master)](https://travis-ci.com/koexjs/ejs)
![license](https://img.shields.io/github/license/koexjs/ejs.svg)
[![issues](https://img.shields.io/github/issues/koexjs/ejs.svg)](https://github.com/koexjs/ejs/issues)

> ejs for koa extend.

### Install

```
$ npm install @koex/ejs
```

### Usage

```javascript
// See more in test
import * as path from 'path';
import ejs from '@koex/ejs';

import * as Koa from 'koa';
const app = new Koa();

app.use(ejs({
  dir: path.join(__dirname, './view'),
}));

app.use(ctx => {
  ctx.render('index');
});

app.listen(8000, '0.0.0.0', () => {
  console.log('koa server start at port: 8000');
});
```

### Related
* [koa-ejs](https://github.com/koajs/ejs)
* [ejs](https://github.com/mde/ejs)

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