I'm new to Nodejs, So help me with this Code
<script>
const os = require('os');
var nam = os.hostname();
document.getElementById('operate').innerHTML=nam;
</script>
<div style="float:left;" id="operate"></div>
Im trying to get nodejs module right inside this html code. Thanks in Advance!