UNPKG

mongoose-lean-id

Version:

Attach `id` to the results of mongoose queries when using `.lean()`

10 lines (6 loc) 169 B
# mongoose-lean-id Attach `id` to the results of mongoose queries when using `.lean()` ## Usage ```javascript const mongooseLeanId = require('mongoose-lean-id'); ```