Would you like to clone this notebook?

When you clone a notebook you are able to make changes without affecting the original notebook.

Cancel

Piping Server

node v12.22.12
version: 7.0.0
endpointsharetweet
const http = require("http"); const piping = require("piping-server@1.1.1"); const log4js = require("log4js@6.1.2"); // Create a logger const logger = log4js.getLogger(); logger.level = "info"; const pipingServer = new piping.Server(logger); const httpPort = 3000; http.createServer(pipingServer.generateHandler(false)) .listen(httpPort, ()=>{ console.log(`Listening HTTP on ${httpPort}...`); }); // (from: https://npm.runkit.com/express) console.log(process.env.RUNKIT_ENDPOINT_URL);
# Endpoints 1.1.1: https://piping-47q675ro2guv.runkit.sh/ 0.8.1: https://piping-92sr2pvuwg14.runkit.sh/
Loading…

no comments

    sign in to comment