mongoose-lean-id-safe (npm): Attach `id` to the results of mongoose queries when using `.lean()` (This fork prevents crash when _id is missing. Also using for loop for optimization.)
Keywords: mongoose|lean|id|mongodb