1.0.5 • Published 3 years ago

yul v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Yul Template Engine

💨 Blazing-fast template engine that supports partials for NodeJS.

Yul template engine Yul template engine Yul template engine Yul template engine Yul template engine

Installation

$ npm install yul
// or via Yarn
$ yarn add yul

Usage

const yul = require('yul')
// or
import * as yul from 'yul';

Basic

const myTemplate = '<p>Hello, <%= data.name %></p>'

yul.render(myTemplate, { name: 'miky' })
// Returns: '<p>Hello, miky</p>'

Yul with ExpressJs

app.engine('html',  yul.renderFile);
app.set('view engine', 'html')
app.set('views', __dirname + '/views');

Todo

  • Express Like Frameworks Integration.
  • Support partials.

License

Apache License v2.0.

1.0.2

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

21.1.5-1

3 years ago

20.12.29-1

3 years ago

20.12.22-3

3 years ago

20.12.16-3

3 years ago

20.12.16-4

3 years ago

20.12.16-2

3 years ago

20.10.30-1

3 years ago