Current module path

Caridy Patino caridy at
Sat Jun 7 12:01:00 PDT 2014

you will be able to access `name` and `address`, as well as importing
relative modules (on demand).

we should have some concrete examples in about a week, in the meantime,
here are the "informal" notes from the breakout session about modules (from
two days ago):



> Date: Thu, 5 Jun 2014 22:28:04 +0200
> From: Ma?l Nison <nison.mael at>
> Subject: Current module path
> Hi,
> Will ES6 have a way to know what is the current module path from inside a
> module ?
> Such a thing could be useful to locate relative resources, just like
> __dirname global.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list