Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 1.63 KB

README.md

File metadata and controls

9 lines (5 loc) · 1.63 KB

tank.js

This is a server-side framework for Node.js implemented using the Koa framework for the HTTP protocol. It currently includes all HTTP-related functionalities, custom middleware, cache drivers, file uploading and downloading, custom command-line interface, custom routing, HTTP client, logging system, Pug and Art template engines, environment configuration, XSS filtering, and more. The current version is suitable for development and learning in most systems.

"tankman-app" is an example program that showcases this framework. You can find it at: https://github.com/fanqie/tankman-app. ↗ Please note that I have plans to rewrite it using TypeScript, and I do not intend to iterate on this framework anymore. Therefore, users are advised to assess the risks themselves. The project contains detailed JSDoc comments and is IDE-friendly.

这是一个Node.js的服务器端框架,使用HTTP协议的Koa框架实现。它目前包括所有与HTTP相关的功能、自定义中间件、缓存驱动程序、文件上传和下载、自定义命令行界面、自定义路由、HTTP客户端、日志记录系统、Pug和Art模板引擎、环境配置、XSS过滤等。当前版本适用于大多数系统中的开发和学习。

“tankmanapp”就是一个展示这个框架的示例程序。您可以在以下位置找到它:https://github.com/fanqie/tankman-app.↗请注意,我计划使用TypeScript重写它,并且我不打算再对这个框架进行迭代。因此,建议用户自行评估风险。该项目包含详细的JSDoc注释,并且对IDE友好。