also

decorators

npm install also

also

An accumulating set of function decorators.

Function decorators?: Coffeescript Ristretto

 
Dwarves     = 0
SnowWhites  = 0
 
{inject} = require 'also'
 
Hi = Ho = inject.sync
 
    beforeAll:  -> SnowWhites++
    beforeEach: -> Dwarves++
 
    -> 
 
        SnowWhites: SnowWhitesDwarves: Dwarves
 
 
 
Hi HoHi HoHi Ho Hi HoHi Ho()
 
# => { SnowWhites: 1, Dwarves: 7 } 
 
 
 
nodeModules = (names) -> require name for name in names 
        
start = inject.sync nodeModules(crypto, zlib, net) -> 
 
    # 
    # ... 
    #  
 
start()
 

none. see spec

  • combine with Notice (hub) and run as daemon (script server for worker/drone farm)