Can anyone explain what the code below does? what do both the .extend() and . register() do to the require('something')?
module.exports = require('something')
    .extend(function() {})
    .register('another thing');
Can anyone explain what the code below does? what do both the .extend() and . register() do to the require('something')?
module.exports = require('something')
    .extend(function() {})
    .register('another thing');
