varal

A Node Framework

Usage no npm install needed!

<script type="module">
  import varal from 'https://cdn.skypack.dev/varal';
</script>

README


Logo

Varal

Varal 是一个轻量级的 Web 服务框架

欢迎 PR

NPM Version Maintainability

Features

  • 流畅易用的 MVC 开发体验
  • 模板引擎 art-template
  • 服务容器与依赖注入
  • 插件机制

Installation

$ npm install varal --save

Basic Usage

const varal = require('varal');
const server = new varal();
server.get('/', app => {
    app.text('Hello World');
});
server.run();

运行文件,访问 localhost:8888 即可看到文本输出。

Document

Varal - 中文文档