mongoose-flat

0.0.2 • Public • Published

mongoose-flat

build status

Flatten user input according to mongoose schema. It preserves your mixed type.

Usage

const flat = require('mongoose-flat');
const User = mongoose.model('User');
 
flat(userInput, User);

Install

npm install mongoose-flat --save

Readme

Keywords

none

Package Sidebar

Install

npm i mongoose-flat

Weekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

9.55 kB

Total Files

10

Last publish

Collaborators

  • cheunghy