Modules: Curly Free

Kevin Smith zenparsing at
Tue Apr 23 08:51:58 PDT 2013

So we'll need two different productions for importing the "default" vs.
importing the module instance object.  Even with node core, we'll need to
use two different forms:

    import "stream" as Stream;
    import module "fs" as fs;

    // Or choose any other two variations you want...

This is more complicated than what they have now.  How do we know the
proposed "default" will make developers happy?

{ Kevin }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list