visitors.js
function visitModuleDeclaration(traverse, node, path, state) {
  utils.catchup(node.range[0], state);
  utils.append('var ' + node.id.name + ' = require(' + node.source.raw + ');', state);
  utils.move(node.range[1], state);
  return false;
}
function visitModuleDeclaration(traverse, node, path, state) {
  utils.catchup(node.range[0], state);
  utils.append('var ' + node.id.name + ' = require(' + node.source.raw + ');', state);
  utils.move(node.range[1], state);
  return false;
}
function visitModuleDeclaration ( traverse , node , path , state ) { utils . catchup ( node . range [ 0 ] , state ) ; utils . append ( 'var ' + node . id . name + ' = require(' + node . source . raw + ');' , state ) ; utils . move ( node . range [ 1 ] , state ) ; return false ; }
Visit ModuleDeclaration.

Example:

module name from "module"
Visit ModuleDeclaration .