{"library":"fh-db","type":"library","category":null,"description":"The `fh-db` library, currently at version `3.3.2`, provides a robust database abstraction layer for Node.js applications, specifically designed to interface with MongoDB. It offers a \"Ditch-like\" API, aiming for a consistent set of actions and parameters that simplify common database operations such as create, read, update, and delete. This library functions as a wrapper around the native `mongodb` driver, abstracting some of its complexities and providing a higher-level interface suitable for FeedHenry cloud application development. While its original target Node.js engine was `4.4`, it has been updated to its current major version `3`, indicating that it received active development and maintenance at some point. Its key differentiator is providing a simplified, consistent API tailored for the FeedHenry ecosystem, reducing boilerplate when interacting with MongoDB. The latest publish date for version `3.3.2` was over 7 years ago, suggesting it is now in maintenance mode, though still widely used within the FeedHenry ecosystem.","language":"javascript","status":"maintenance","version":"3.3.2","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install fh-db","imports":["const fhdb = require('fh-db');","const dbInstance = fhdb.db(process.env.MONGO_URI || 'mongodb://localhost:27017/mydatabase');","dbInstance.create('mycollection', { name: 'test' }, (err, data) => {});"]},{"cmd":"yarn add fh-db","imports":[]},{"cmd":"pnpm add fh-db","imports":[]}],"homepage":null,"github":"https://github.com/feedhenry/fh-db","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/fh-db","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/fh-db/compatibility"}}