Skip to content

Instantly share code, notes, and snippets.

@kawanet
Created May 18, 2020 05:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save kawanet/3def276d5f7b68a4fed56fb32a6240a8 to your computer and use it in GitHub Desktop.
Save kawanet/3def276d5f7b68a4fed56fb32a6240a8 to your computer and use it in GitHub Desktop.
Node.js + Express.js = Web Server in 1 line
node -e '(e=require("express"))().use(e.static("htdocs")).listen(3000)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment