{"library":"dependable","type":"library","category":null,"description":"Dependable is a minimalist dependency injection (DI) framework specifically designed for Node.js environments. It currently stands at version 1.1.0, a stable release, but exhibits a very low release cadence, with the last significant update being a number of years ago, despite minor recent commits on its GitHub repository. Its core functionality revolves around automatic dependency resolution through function argument introspection, allowing for lazy loading of dependencies. Key differentiators include its simple API for registering and resolving dependencies, support for re-registering components (useful for configuration or mocking), and the ability to override dependencies at resolve time. Unlike more comprehensive modern DI containers like InversifyJS or Awilix, Dependable focuses purely on a lightweight, convention-based approach, omitting features such as explicit type binding, decorator-based configuration, or native asynchronous dependency resolution. This makes it suitable for projects prioritizing simplicity and minimal overhead.","language":"javascript","status":"maintenance","version":"1.1.0","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install dependable","imports":["const dependable = require('dependable');","const container = dependable.container();","container.register('myService', myServiceFunction);","container.resolve(function (myService) { /* ... */ });"]},{"cmd":"yarn add dependable","imports":[]},{"cmd":"pnpm add dependable","imports":[]}],"homepage":null,"github":"https://github.com/Schoonology/dependable","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/dependable","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/dependable/compatibility"}}