node package manager

Introducing npm Enterprise add-ons. Integrate third-party dev tools into npm…

func-invoke

Functional helper for invoking methon on instance, sync and async

 
var invoke = require( 'invoke' )
 
documents.forEach( invoke('setState', 'saved') )
 
var invoke = require( 'invoke' ).async
 
async.forEach( documents, invoke('save', 'redis'), function( err ){
  
})