Created
May 18, 2020 05:42
-
-
Save kawanet/3def276d5f7b68a4fed56fb32a6240a8 to your computer and use it in GitHub Desktop.
Node.js + Express.js = Web Server in 1 line
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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