没有合适的资源?快使用搜索试试~ 我知道了~
hapi-mongoose-models:自动加载Hapi.js的猫鼬模型
共11个文件
js:5个
json:2个
makefile:1个
需积分: 5 0 下载量 58 浏览量
2021-05-06
04:59:19
上传
评论
收藏 36KB ZIP 举报
温馨提示
pi猫模型 自动加载Hapi.js的猫鼬模型 安装 $ npm install hapi-mongoose-models 用法 const Hapi = require ( 'hapi' ) ; const Mongoose = require ( 'mongoose' ) ; const server = Hapi . server ( { port : 80 } ) ; const provision = async ( ) => { await server . register ( { plugin : require ( 'hapi-mongoose-models' ) , options : { globPattern : './server/models/**/*.js' , // Required
资源推荐
资源详情
资源评论
收起资源包目录
hapi-mongoose-models-master.zip (11个子文件)
hapi-mongoose-models-master
models
withfunction.js 261B
normal.js 180B
nomodel.js 71B
package.json 1KB
test
index.js 1KB
LICENSE 1KB
package-lock.json 113KB
.gitignore 43B
lib
index.js 2KB
Makefile 657B
README.md 930B
共 11 条
- 1
资源评论
起名什么的最烦啦
- 粉丝: 15
- 资源: 4639
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功