John Barton (2014-06-20T22:47:59.000Z)
dignifiedquire at gmail.com (2014-06-21T08:44:24.150Z)
ES6 already has what you want: _Named Exports_: ```js export var foo = 1; ``` _Single Export Object_: ```js export var moduleName = { foo: 1, bar: function() {} }; ``` _Single Export Function_: ```js export function fName() { } ``` And even cooler, the syntax for import is uniform, ```js import {foo} from './namedExport'; import {moduleName} from './singleExportObject'; import {fName} from './singleExportFunction'; ```