{"library":"promised-hooks","type":"library","category":null,"description":"Lightweight middleware utility that adds pre and post hooks to any function returning a Promise. Version 3.1.1 is the current stable release, last updated several years ago with no active development. It allows wrapping classes, functions, or objects to intercept Promise-returning methods, with support for argument overriding and post-hook response modification. Different from general middleware libraries like Express or Koa, it focuses specifically on Promise-based async flows and integrates hooks directly into existing classes or objects without requiring a framework.","language":"javascript","status":"maintenance","version":"3.1.1","tags":["javascript","hooks","promise","middleware"],"install":[{"cmd":"npm install promised-hooks","imports":["import hooks from 'promised-hooks'","import hooks from 'promised-hooks'; hooks.wrap(MyClass)","import hooks from 'promised-hooks'; MyClass.pre('method', fn)"]},{"cmd":"yarn add promised-hooks","imports":[]},{"cmd":"pnpm add promised-hooks","imports":[]}],"homepage":null,"github":"https://github.com/sebelga/promised-hooks","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/promised-hooks","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/promised-hooks/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Fri Jul 24","install_tag":null}}