An open API service indexing awesome lists of open source software.

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

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**.