Simplicity and Performance
Simplicity and Performance
API is focused on simplicity but keeping a high performance
HTTP(S) and WS(S) API
HTTP(S) and WS(S) API
API for creating servers and clients for the HTTP(S) and WebSocket protocols
Advanced Routing
Advanced Routing
Advanced routing for HTTP requests, static files and errors
Virtual Hosting and Mirrors
Virtual Hosting and Mirrors
Every server can serve multiple hosts and on multiple ports
Template Engine Support
Template Engine Support
Support for third-party template engines
All-In-One Solution
All-In-One Solution
Includes most common tools out of the box
Installation
Installation
Install latest simpleS version 0.9.0 by running the following command:
npm i simples@alpha
Try now!
Try now!
Create your own server just by using few lines of code:
const simples = require('simples');
const server = simples();
server.get('/', (connection) => {
connection.end('Hello World');
});
Learn How
Learn How
Read docs, follow tutorial, create apps!