Skip to content

Latest commit

 

History

History
10 lines (6 loc) · 217 Bytes

HEADER.md

File metadata and controls

10 lines (6 loc) · 217 Bytes

mongoose-throw-unselected

Throws an error whenever you access a field on a mongoose document that is not selected

Usage

const mongooseThrowUnselected = require('mongoose-throw-unselected');