1.0.8 • Published 3 years ago

narko v1.0.8

Weekly downloads
2
License
ISC
Repository
github
Last release
3 years ago

#narko

这是一个轻量化的模版引擎,方便新手使用和了解模版引擎的工作机制。

install: npm install narko --sav

具体案例可见 test文件夹

About

narko is a simple and light model engine,help developer use light and fast tools. v1.0.0

narko file

use it as html without statement

<h1>${name}</h1>

name will be the variable to replace

document

initial:

npm install narko var narko =require('narko');

var test = new narko

open narko file

test.open() #fill it with narko file

fill value

test.fillValue() #fill with Object

start server

test.startServer() #fill with server port 

you can add script on .narko file,just like javascript

script{
    console.log("hello narko")
}
1.0.2

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.1

8 years ago

1.0.0

8 years ago