Node module provide as getters & setters
<p>I have the following code which is working OK.
Now I need to add additional properties and functions and export them,
How it's recommended to do it?
lets say I've two functions and two additional properties which I need to export.</p>

<p>properties like
isValid
prop1</p>

<pre><code>var internal = require("../plu/internal");
module.exports = {isAvailable: false};

internal.eventEmitter.on('AppA', function () {
    module.exports.isAvailable = true;
});
</code></pre>