Socket
Socket
Sign inDemoInstall

fengine

Package Overview
Dependencies
5
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    fengine

A development tool for f2e.


Version published
Maintainers
1
Install size
8.69 MB
Created

Readme

Source

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

Keywords

FAQs

Last updated on 17 Dec 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc