> Have single-export modules in npm been counted? A look at npm would not be a representative sampling of JavaScript modules.
NPM houses library code, which lends itself more toward multi-export than application code does, in my experience anyway. Every client app I've worked on has some sort of object model based on constructors (MooTools, jQueryUI, Backbone, Ember, lots of others). It would be silly to export anything but the constructor function from each module. - Ryan _______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss