exports.js: helper functions for configs
Merge pull request #2 from pd/exports.js

exports.js: helper functions for configs