{"library":"lodash-id","type":"library","category":null,"description":"lodash-id is a utility package that extends Lodash and Underscore with methods for manipulating collections of JavaScript objects based on a unique `id` property, effectively turning them into simple in-memory databases. It provides a set of CRUD-like operations such as `getById`, `insert`, `upsert`, `updateById`, `removeById`, and `removeWhere`. The package normalizes ID comparisons, allowing both string and integer IDs to be treated equivalently since version `0.12.0`. The current stable version is `0.14.1`. Releases are infrequent but address compatibility and feature refinements. Its primary differentiator is its integration as a Lodash mixin, simplifying common data management patterns within existing Lodash-based applications or in conjunction with `lowdb`. It does not handle data persistence directly since `v0.14.0`, delegating that responsibility to `lowdb` or custom implementations.","language":"javascript","status":"active","version":"0.14.1","tags":["javascript","lodash","lowdb","underscore","id","resource","mixin"],"install":[{"cmd":"npm install lodash-id","imports":["const _ = require('lodash');\n_.mixin(require('lodash-id'));","const post = _.getById(db.posts, 1);","_.id = '_id';"]},{"cmd":"yarn add lodash-id","imports":[]},{"cmd":"pnpm add lodash-id","imports":[]}],"homepage":null,"github":"https://github.com/typicode/lodash-id","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/lodash-id","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/lodash-id/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Tue Jul 21","install_tag":null}}