es-main (npm): Test if an ES module is run directly (require.main replacement)
Keywords: require.main|process.mainModule|modules