How to use slug.toLocaleLowerCase:
66 67 68 69 70 71 72 73 74 75
slug = '' + count + options.delimiter + value; } else { slug = value + options.delimiter + count; } return slug.toLocaleLowerCase(); }; schema.pre('save', function (next) { var self = this;