Socket
Book a DemoInstallSign in
Socket

bucket-core

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bucket-core

A Node.js web framework

0.1.4
latest
Source
npmnpm
Version published
Weekly downloads
2
100%
Maintainers
1
Weekly downloads
 
Created
Source

bucket-core

一款轻量级的基于koa.js的mvc框架,koa.js提供了中间件的思想,具体的server实现还是由程序员自己去构建,参考各种主流框架,本项目用简单的代码来定义一个具有实践价值、可成长的node后端框架。内容包括:

  • 定义app大对象,启动时挂载所有组件;
  • 定义目录规范,如app入口目录,model、controller、service、middleware
  • 松散的模块化,功能模块可以灵活地加入与组合;
  • 优雅的进程退出,当收到SIGINT信号,按顺序关闭服务,使已经接收到的请求(业务逻辑)处理完与保存数据再退出。

目前框架还处于完善阶段。

框架使用例子:bucket-demo

Keywords

Node.js

FAQs

Package last updated on 23 Sep 2017

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.