salak
Build better frameworks and apps with nodejs & koa.
Last updated 3 months ago by wengeek .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install salak 
SYNC missed versions from official npm registry.

salak

NPM version build status David deps NPM download

web应用框架,基于koa 2.0

支持node v7.6 以上版本

特性

  • ✔︎ 自动路由,基于controller自动绑定路由
  • ✔︎ swagger文档自动生成
  • ✔︎ Joi校验,自动校验数据请求
  • ✔︎ model, service自动装载
  • ✔︎ 内置丰富的插件,如error, jsonp等

文档

https://salakjs.github.io/docs

安装

npm install --save salak

使用

目录结构

├── common                  - 公共模块
│   ├── config              - 配置文件
│   │   └── default.js
│   └── middleware
│       └── error.js
├── blog                    - blog模块
│   ├── config              - blog模块配置
│   │   └── default.js
│   ├── controller          - 控制器目录
│   │   ├── comment.js
│   │   └── post.js
│   ├── middleware          - 模块中间件
│   │   ├── auth.js
│   │   └── err.js
│   └── service             - 模块service
│       └── post.js
└── index.js                - 程序入口

License

MIT

Current Tags

  • 1.0.14                                ...           latest (3 months ago)
  • 2.0.0-beta.28                                ...           next (7 days ago)

48 Versions

  • 2.0.0-beta.28                                ...           7 days ago
  • 2.0.0-beta.27                                ...           8 days ago
  • 2.0.0-beta.26                                ...           22 days ago
  • 2.0.0-beta.25                                ...           22 days ago
  • 2.0.0-beta.24                                ...           a month ago
  • 2.0.0-beta.23                                ...           a month ago
  • 2.0.0-beta.22                                ...           a month ago
  • 2.0.0-beta.21                                ...           a month ago
  • 2.0.0-beta.20                                ...           a month ago
  • 2.0.0-beta.19                                ...           a month ago
  • 2.0.0-beta.17                                ...           2 months ago
  • 2.0.0-beta.16                                ...           2 months ago
  • 1.0.14                                ...           3 months ago
  • 2.0.0-beta.15                                ...           3 months ago
  • 2.0.0-beta.14                                ...           3 months ago
  • 2.0.0-beta.13                                ...           3 months ago
  • 2.0.0-beta.12                                ...           3 months ago
  • 2.0.0-beta.11                                ...           3 months ago
  • 2.0.0-beta.10                                ...           4 months ago
  • 2.0.0-beta.9                                ...           4 months ago
  • 2.0.0-beta.8                                ...           4 months ago
  • 2.0.0-beta.7                                ...           4 months ago
  • 2.0.0-beta.6                                ...           4 months ago
  • 2.0.0-beta.5                                ...           4 months ago
  • 2.0.0-beta.4                                ...           4 months ago
  • 2.0.0-beta.3                                ...           4 months ago
  • 2.0.0-beta.2                                ...           4 months ago
  • 2.0.0-beta.1                                ...           4 months ago
  • 2.0.0-beta                                ...           4 months ago
  • 1.0.13                                ...           6 months ago
  • 1.0.12                                ...           6 months ago
  • 1.0.11                                ...           6 months ago
  • 1.0.10                                ...           6 months ago
  • 1.0.9                                ...           7 months ago
  • 1.0.8                                ...           7 months ago
  • 1.0.7                                ...           9 months ago
  • 1.0.6                                ...           10 months ago
  • 1.0.5                                ...           a year ago
  • 1.0.4                                ...           a year ago
  • 1.0.3                                ...           a year ago
  • 1.0.2                                ...           a year ago
  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           a year ago
  • 0.0.5                                ...           a year ago
  • 0.0.4                                ...           a year ago
  • 0.0.3                                ...           a year ago
  • 0.0.2                                ...           a year ago
  • 0.0.1                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 22
Last Day 0
Last Week 22
Last Month 140
Dependencies (9)
Dev Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |