The async package provides functions for asynchronous code.
Using the auto function you can define asynchronous relations between two or more functions:
var async = require('async');
async.auto({
get_data: function(callback) {
console.log('in get_data');
// async code to ...