https://github.com/dckt/localhost-now
Launch a web server for static files
https://github.com/dckt/localhost-now
Last synced: about 2 months ago
JSON representation
Launch a web server for static files
- Host: GitHub
- URL: https://github.com/dckt/localhost-now
- Owner: DCKT
- Created: 2014-07-18T21:19:18.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2018-02-15T12:32:27.000Z (over 7 years ago)
- Last Synced: 2025-03-03T22:39:50.271Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 22.5 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Localhost-now
===Am I the only one who is lazy to install Apache just for testing some HTML or JavaScript code (like XHR) ?
## Setup
`npm install -g localhost-now`## API
`localhost [port]`
By default, the web server will run on the **1337 port**. You can set a custom port by specify the port when you
launch the server like for example : **localhost 8080**.