findOne or create mongoose code example Example: mongoose find or create const findOrCreate = require('mongoose-find-or-create');