asyncdi

Async Dependency Injection Library

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
asyncdi
921.1.09 years ago9 years agoMinified + gzip package size for asyncdi in KB

Readme

Async-aware Dependency Injection
asyncdi checks whether a function is meant to be called asynchronously by detecting the name of its last argument.
It then provides a consistent calling interface as well as introspection info about the expected arguments.

Installation

npm install asyncdi

Usage

See the tests for example usage.