UNPKG

on-server

Version:

Run shell commands in the browser

16 lines (13 loc) 394 B
#! /usr/bin/env node import express from "express"; import http from "http"; const app = express(); const server = new http.Server(app); app.get("/", (req, res) => { res.send( "Thank you for being curios and trying on-server. But currently it is unavailable. Full version comming soon" ); }); server.listen(6500, () => { console.log("on-server is on port 6500"); });