Plugin to handle `save()` with `unique` in arrays
mongoose-unique-validator is a plugin which adds pre-save validation for unique fields within a Mongoose schema.
Remove duplicate values from an array. Fastest ES5 implementation.
取得陣列唯一值,支援深度比較巢狀物件和陣列 / Get unique values from array with deep comparison for nested objects and arrays
OpenTelemetry instrumentation for `mongoose` database object data modeling (ODM) library for MongoDB
➔ Schema-based slug plugin for Mongoose ✓ single⋮compound ✓ unique within collection⋮group ✓ nested docs⋮arrays ✓ relative⋮abs paths ✓ sync on change: create⋮save⋮update⋮updateOne⋮updateMany⋮findOneAndUpdate ✓ $set operator ✓ counter⋮shortId
Mongoose MongoDB ODM
An RxJS map operator that takes an observable of arrays as input and emits arrays where each element represents emissions from the projected observable.
Amazingly short non-sequential url-friendly unique id generator.
Mongoose plugin that ensures array objects are unique by the object key
Create an array of unique values, in order, from the input arrays
Get consecutively unique elements from an array
Always populate() certain fields in your mongoose schemas
Generate a random integer
Plugin for Mongoose that turns duplicate errors into regular Mongoose validation errors
Mongoose schema plugin for array validations
Generate a unique character string suitible for use in files and URLs.
Very generic autoincrement plugin for mongoose
Parameterised tests for Jest
Generate a unique random string
Generate a unique filename for use in temporary directories or caches.
TypeScript definitions for array-unique
The schema definition for collections
Easily get the CWD (current working directory) of a project based on package.json, optionally starting from a given path. (node.js/javascript util)