Michał Gołębiowski m.goleb at
Fri Jun 27 00:52:44 PDT 2014

On Fri, Jun 27, 2014 at 9:44 AM, Russell Leggett <russell.leggett at>
> No, that example would be:
>     import "mkdirp" as mkdir;
> Its actually shorter than node.

But in current proposal the module object cannot be a function from what I
understand. So you'd have to create a named export and import it as I wrote.

Michał Gołębiowski
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list