1.0.8 • Published 10 months ago

narko v1.0.8

Weekly downloads
2
License
ISC
Repository
github
Last release
10 months 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

10 months ago

1.0.8

10 months ago

1.0.7

10 months ago

1.0.6

10 months ago

1.0.5

10 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.1

6 years ago

1.0.0

6 years ago