ModuleImport

Brian Donovan me at brian-donovan.com
Wed Jun 25 15:17:38 PDT 2014


You don’t actually need a namespace for this, though it may be more
convenient/aesthetically pleasing than the alternative:

```
import {format as formatURL} from 'url';
import {format} from 'util';
import {connect as tlsConnect} from 'tls';
import {connect as netConnect} from 'net';
import {fork as clusterFork} from 'cluster';
import {fork} from 'child_process';
// etc
```
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140625/9e6392d0/attachment.html>


More information about the es-discuss mailing list