mongoose-faker:mongoose插件可生成假模型数据

时间:2024-02-25 10:23:21
【文件属性】:

文件名称:mongoose-faker:mongoose插件可生成假模型数据

文件大小:58KB

文件格式:ZIP

更新时间:2024-02-25 10:23:21

nodejs plugin mongoose seed factor

猫鼬 猫鼬插件生成假模型数据 要求 NodeJS v6.5 + 安装 $ npm install --save @lykmapipo/mongoose-faker 用法 const mongoose = require ( 'mongoose' ) ; mongoose . plugin ( require ( 'mongoose-faker' ) ) ; const Schema = mongoose . Schema ; const UserSchema = new Schema ( { name : { type : String , fake : {


【文件预览】:
mongoose-faker-master
----.travis.yml(102B)
----index.js(11KB)
----.jsbeautifyrc(93B)
----package.json(1KB)
----test()
--------usecases.spec.js(8KB)
--------bootstrap.spec.js(45B)
--------faker.spec.js(4KB)
----LICENSE(1KB)
----package-lock.json(155KB)
----CONTRIBUTING.md(8KB)
----Gruntfile.js(998B)
----.npmignore(164B)
----.gitignore(571B)
----CHANGELOG.md(10KB)
----CODE_OF_CONDUCT.md(3KB)
----.npmrc(63B)
----README.md(3KB)
----.jshintrc(384B)

网友评论