Advertisement
AnindyaBiswas

page

May 16th, 2023
1,478
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var http = require('http');
  2.  
  3. //custom module
  4. var cm = require('./custom.js');
  5.  
  6. http.createServer(function(req, res) {
  7.  
  8.     res.write(cm.customModule());
  9.     res.end();
  10.  
  11. }).listen(8080);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement