Feature: Additions to CommonJS PR 

Continuation of PR #1300 
Can you please add a docstring explaining what this module is for?