Skip to content

Instantly share code, notes, and snippets.

@leolanese
Created December 17, 2019 19:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leolanese/3d8eb7677c27e1c100f93b18b87dcbf1 to your computer and use it in GitHub Desktop.
Save leolanese/3d8eb7677c27e1c100f93b18b87dcbf1 to your computer and use it in GitHub Desktop.
// We no longer need the "use strict" directive since
// all ECMAScript modules implicitly use strict mode.
import * as config from "./config.json";
app.listen(config.server.nodePort, () => {
console.log(`Listening on port ${config.server.nodePort} ...`);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment