Here is my code
var foobar = require('module').foobar()
foobar.useOne()
foobar.useTwo()
I am looking for the ES6 equivalent of the first line (with import ... as ... from
) so that i can still do foobar.useOne()
, foobar.useTwo()
etc
If there is one..