{"library":"call-me-maybe","type":"library","category":null,"description":"The `call-me-maybe` package provides a utility function designed to simplify the creation of JavaScript APIs that can gracefully accept either a traditional Node.js-style error-first callback or return a Promise for asynchronous operations. It abstracts away the common boilerplate logic needed to detect the presence of a callback argument, allowing API developers to write their core asynchronous code once. This approach helps in accommodating both classic callback-based consumers and modern Promise-driven codebases without needing to implement separate logic paths or external promisification utilities. The package is currently stable at version `1.0.2` and typically maintains a low release cadence, focusing on stability and bug fixes. Its key differentiator is enabling internal dual-interface support, streamlining the API design process for libraries targeting a broad audience.","language":"javascript","status":"active","version":"1.0.2","tags":["javascript","promise","callback","denodeify","promisify","carlyraejepsen"],"last_verified":"Wed May 27","install":[{"cmd":"npm install call-me-maybe","imports":["import callMeMaybe from 'call-me-maybe';","const callMeMaybe = require('call-me-maybe');"]},{"cmd":"yarn add call-me-maybe","imports":[]},{"cmd":"pnpm add call-me-maybe","imports":[]}],"homepage":null,"github":"https://github.com/limulus/call-me-maybe","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/call-me-maybe","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/call-me-maybe/compatibility"}}