sequelize
Sequelize is a promise-based Node.js ORM for Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server.
安装方式:
npm install --save sequelize
# You'll also have to manually install the driver for your database of choice, One of the following:
$ npm install --save pg pg-hstore # Postgres
$ npm install --save mysql2
$ npm install --save mariadb
$ npm install --save sqlite3
$ npm install --save tedious #
教程:https://github.com/demopark/sequelize-docs-Zh-CN
koa-generator
koa默认项目的脚手架,支持koa1和koa2.
安装:
https://www.npmjs.com/package/koa-generator
supertest
底层基于TJ大神的superagent开发的接口测试工具
github: https://github.com/visionmedia/supertest
网友评论