1.0.2 • Published 6 years ago

fengine v1.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

fengine

A development tool for f2e

NPM Version Download Status Node Version Dependencies

Getting started

Install

$ npm install -g fengine

Introduction

if you have installed fengine, you can run fengine by command:

$ fengine

and use:

$ fengine -h

for help.

you can config server by fengine.yml under server root:

hostname: # default: 0.0.0.0 and ::
  127.0.0.1
port: # default: null
  80
base: # default: process.cwd
  /html
layout: # default: null
  /layout/layout.html
data: # default: {server, dirname, filename, extname}
  version:
    0.0.1
watch: # default: ['.htm', '.html'], .htm and .html always be watched
  - .xml
  - .tpl
tags: # default {data: ['{{', '}}'], directive: ['<!--', '-->']}
  data:
    - {{
    - }}
  directive:
    - <!--
    - -->

hostname: server hostname, don't set if not necessary, see node http module docs. {String}

port: server port. {Number}

base: the base dir of where the file transform start. {String}

layout: default layout file. {String}

data: the data of template. {Object}

watch: the extname of file want to be transform. {Array}

tags: the tags of file template engine. {Object}

Documentation

fengine wiki

License

MIT

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.5.0

6 years ago

0.4.9

7 years ago

0.4.7

7 years ago

0.4.6

7 years ago

0.4.5

7 years ago

0.4.4

7 years ago

0.4.3

8 years ago

0.4.2

8 years ago

0.4.1

8 years ago

0.4.0

8 years ago

0.3.8

8 years ago

0.3.7

8 years ago

0.3.6

8 years ago

0.3.5

8 years ago

0.3.4

8 years ago

0.3.3

8 years ago

0.3.2

8 years ago

0.3.1

8 years ago

0.3.0

8 years ago

0.2.20

8 years ago

0.2.19

8 years ago

0.2.18

8 years ago

0.2.17

8 years ago

0.2.16

8 years ago

0.2.15

8 years ago

0.2.14

8 years ago

0.2.13

8 years ago

0.2.12

8 years ago

0.2.11

9 years ago

0.2.10

9 years ago

0.2.9

9 years ago

0.2.8

9 years ago

0.2.7

9 years ago

0.2.6

9 years ago

0.2.5

9 years ago

0.2.4

9 years ago

0.2.3

9 years ago

0.2.2

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.9

9 years ago

0.1.8

9 years ago

0.1.7

9 years ago

0.1.6

9 years ago

0.1.5

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago