a1exlism
9/27/2016 - 1:31 AM

ES5_Node_module

//  file A need export
const	val = 'test';

module.exports = val;

//  file B want import A
const token = require('./exported_file');
/*
 * Codes
 */