Skip to content

Instantly share code, notes, and snippets.

@garrensmith
Created January 31, 2011 14:28
Show Gist options
  • Select an option

  • Save garrensmith/804091 to your computer and use it in GitHub Desktop.

Select an option

Save garrensmith/804091 to your computer and use it in GitHub Desktop.
Return object from module with required functions
var bob = module.exports = function(input) {
return { foo: "bar",
baz: "bar",
output: input
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment