docs: function generate(spec) {
    createProjectDirectory();
    spec = addHttpEndpointNames(spec);
    spec = addSocketEndpointFlag(spec);
    spec = addSocketEmitTypeFlag(spec);
    spec = isProxyEndpointAvailable(spec);
    writeFileSync('server.mustache', spec, 'server.js');
    writeFileSync('package.mustache', spec, 'package.json');
  }