1.4.0 • Published 3 years ago
srver v1.4.0
Srver
Srver is a simple server with tools to create APIs
Server
You will have to install the srver package: npm install srver. Then:
import { Server } from 'srver';
const server = new Server();
await server.start();Without any configuration this server already has:
- Initialized in the 8000 port
- /health endpoint
- 404 error
- Error handler (no app crashes)
- Disabled
x-powered-byheader - Incoming JSON requests parsed