Skip to content
L

Lite Server

Lightweight node server

by johnpapaFree

#1650in Developer Tools
0In stores

Description

lite-server is a lightweight development server for web apps, distributed as an npm package. It serves a web app, opens it in the browser, r…

Highlights

  • Serves a web app and opens it in the browser
  • Reloads on HTML or JavaScript changes and injects CSS
  • Falls back to index.html for single page app routes
  • Configured with bs-config files or command line flags
  • Built on BrowserSync, for development only

Ratings & Reviews

No ratings yet

Be the first to rate Lite Server.

People also visit

L

Local Web Server

A lean, modular web server for rapid full-stack development

Developer Tools
Launch
S

Static Web Server

Cross-platform, high-performance

Developer Tools
Launch
B

Browser Run

Run code inside a browser from the command line

Developer Tools
Launch
H

hostc

Localhost, anywhere. One command gives your dev server a public HTTPS URL

Developer Tools
Launch
O

OpenServerPanel

Software environment for web development

Developer Tools
Launch
S

Simple Web Server

Create a local web server in just a few clicks with an easy to use interface

Utilities
Launch

Lite Server FAQ

What is lite-server?

A lightweight development server for web apps that refreshes the browser on changes and handles single page app routes.

Can I use it in production?

No. The README describes it as a development only server.

Why does it return index.html?

So that client side routes, such as deep links to /customer/21, load the app instead of returning a 404 from the static server.

How do I install it?

Install it locally with npm and add a script to package.json, use npx, or install it globally.

How do I change the port or folder?

Use a bs-config.json or bs-config.js file, or the --baseDir and --config command line options.

Is it free?

Yes. It is open source and its code is on GitHub.

What are the best Lite Server alternatives?

Popular alternatives to Lite Server include Local Web Server, Static Web Server and Browser Run. See all Lite Server alternatives

Developer Stuff

Badges