An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

npmjs.org : to-callback

Converts result-first callbacks to classic (node.js-style) error-first callbacks with 3 lines of code. Useful when you want to promisify result-first APIs (like emitter.on). Inspired by [rfpify][] and probably used in it.

Registry - Source - Homepage - JSON
purl: pkg:npm/to-callback
Keywords: api , apis , callback , cb , convert , create , err , errfirst , error , errorfirst , first , hybridables , hybrids , modify , promisify , res , resfirst , result , resultfirst , tocallback , transform , util
License: MIT
Latest release: over 8 years ago
First release: over 8 years ago
Dependent repositories: 1
Downloads: 60 last month
Stars: 2 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Funding links: https://github.com/sponsors/tunnckoCore
Last synced: 1 day ago

    Loading...
    Readme
    Loading...