title: Call Windows API from node.js msg
body: <p>I am new at Node, I have this simple Node.js server works on windows </p>
  
  <p>Server Code</p>
  
  <pre><code>var ws = require("websocket-server");
  
  var server = ws.createServer();
  
  server.addListener("connection", function(client){
      console.log("new connection");
      client.send("aaaaaa");
      client.addListener("message", function(msg){
          console.log(msg);
      });
  });
  
  server.listen(8080);
  </code></pre>
  
  <p>I just want to call windows API insted of line</p>
  
  <pre><code>console.log(msg);
  </code></pre>
  
  <p>is there any way to do this without using external library</p>
  
  <p>any ideas?</p>