Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

koa-rtapi

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koa-rtapi

koa api in rtworld company

  • 1.1.565
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

koa-rtapi

简介

  • 创建一个http服务器 (koa2)
  • 简化的基于文件的api路由
  • 支持 request.body(koa-bodyparser)跨域(koa2-cors)静态服务(koa-static)
  • 集成了tkui(填坑UI)和前后台生成工具
  • 集成了代码在线编辑工具

初始化

npm init -y && npm i koa-rtapi && npx koa-rtapi-init && node index

更新

npm update koa-rtapi

启动

node index

文件说明

  • index.js 启动和配置
  • api/ api文件
    • coder.api.js: 代码生成api
    • demo.api.js: 范例api
  • coder/ 代码生成模板
  • www/ 放静态文件

FAQs

Package last updated on 20 May 2019

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc