window . addEventListener ( 'DOMContentLoaded' , ( ) => { [ 'chrome' , 'node' , 'electron' ] . forEach ( type => { console . log ( `%c${ type }:%c ${ process . versions [ type ] }` , 'color:red' , 'color:unset' ) ; } ) ; } ) ;