1.0.1 • Published 6 months ago
noob-servers v1.0.1
noob-servers 1.0.0
The simplest way to start a server, suitable for beginners
Installation Method: npm i noob-server
Usage
1. Create a JavaScript file and import the module
const { Server } = require('noob-server');
2. Create a server instance and fill in the required parameters
const server = new Server(path, method, data); // path: port number, method: request method, data: data
3. Call instance methods
server.createServer