In ES6 and later we prefer import over require.
In the absence of the require object, how does one access values historically presented as attributes of the require object? For example, require.main.filename
If there is a topic in the Node documentation dealing with this a reference would be greatly appreciated. In the meantime, I persist while Google fails to be my friend... obviously I'm asking the wrong question. Better search terms would also be helpful.
 
    