1.0.6 • Published 2 years ago

vievv v1.0.6

Weekly downloads
13
License
MIT
Repository
github
Last release
2 years ago

Vievv

Install

npm i vievv

Design

It's similar to EJS v1, but with a little twist to my needs, specially the resolver for including other views.

<div>
    Hello, I'm <%= name %>.
</div>

Methods

Compile

var view     = require("vievv");
var template = view.compile(filename[, options ]);

console.log(template(scope));

Render

var view = require("vievv");

console.log(view.render(data[, options ]));
1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

3 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

8 years ago

0.3.0

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago

0.0.1

8 years ago