Skip to content
S

server.js

A modern, powerful server for Node.js

Free

#7075in Utilities
0In stores

Description

server.js is a Node.js framework for building web servers and APIs with little setup. It is installed from npm as the package called server.…

Highlights

  • Install from npm with little setup
  • Routes with async and await
  • Realtime channels with socket.io
  • Compatible with Express middleware
  • Requires Node.js 7.6.0 or newer

Ratings & Reviews

No ratings yet

Be the first to rate server.js.

People also visit

K

Koa.js

Next generation web framework for node.js

Utilities
Launch
N

Node.js

Node.js is a platform built on Chrome's JavaScript runtime

Social
Launch
L

Lodash.com

The Lodash website

Utilities
Launch
M

Mongoose Web Server

Embedded web server with a Web UI builder

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
T

TSW

Tencent Server Web

Utilities
Launch

server.js FAQ

What is server.js?

server.js is a Node.js package for building web servers and APIs. It is installed with npm as server and includes routing and other features by default.

Which Node.js version do I need?

Node.js 7.6.0 or newer. The site recommends Node.js 8.x LTS.

Does it work with Express middleware?

Yes. The site says server.js is fully compatible with Express middleware.

How do I get started?

Run npm install server, then create an index.js file that requires server, defines a route with get, and starts the server. The site has a getting started tutorial for beginners.

Does it support realtime features?

Yes. Realtime channels are available through socket.io, and the site shows them set up in a couple of lines.

What are the best server.js alternatives?

Popular alternatives to server.js include Koa.js, Lodash.com and Simple Web Server. See all server.js alternatives

Developer Stuff

Badges