code: function createServer(root, port) {
    http
      .createServer(function(request, response) {
        const send = new FileSend(request, url.parse(request.url).pathname, {
          root: root || process.cwd(),
          maxAge: '3day',
          index: ['index.html'],
          ignore: ['**/.*?(/**)']
        });
  
        send.pipe(response);
      })
      .listen(port || 8080);
  }
docs: create server