In the following node code example
// Load the net module to create a tcp server.
var net = require('net');
Is this using require.js? (requirejs.org)
It's a globally-scoped function in Node.
No, it isn't. the function require is a function that node.js wrote by theirselves.