npm.io
1.1.0 • Published 10 years ago

asyncdi v1.1.0

Weekly downloads
5,731
License
MIT
Repository
github
Last release
10 years ago

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.

asyncdidependencyinjectionfunctionlibrary
asynclodash
@xqy/keystone@everything-registry/sub-chunk-1176breinstormin.mongo.kernel@pearlmorissette/keystonejgg-keystonekeystone-impatientkeystone-nestedlistkeystone-nthrivekeystone-password-resetkeystone-ruskeystonekeystone-v4-mongodb6keystone-wbkeystone-with-multi-selectkeystone-zkeystone-advkeystone-diamantidoukeystone-aceinnakeystone-eskeystone-forkkeystone-4keystone_ossyourttoo.kernel.exodustwreporter-keystone@deansel/latte@copy202/keystonezombie-ghost-cms@eklogvinov/keystone@fundcount/fc-keystone@nicwong/keystonejs@naustudio/keystone@eybo/keystone@moritzdachwald/keystone@peterpme/keystonemoorr-keystonemicrpkeynebulosanext-nodecmshypercmsgsalescmshorizontec-keystoneheadstonelightsight@twreporter/keystone@unaussprechlich/keystone@zalastax/nolb-asyncdacklen-keystonealtair-keystonearch-keystoneartur-keystonecapstonejscloudlify-keystoneedencmsff-keystonefc-keystone
1.1.0

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago

contact@npm.io