1.1.0 • Published 11 months ago
@cloud-cli/http v1.1.0
@cloud-cli/http
Wrapper for Node.js HTTP server
Install
npm i @cloud-cli/http
Usage
import createServer from '@cloud-cli/http';
// same API as Node.JS http module. Listens to `process.env.PORT` automatically
const server = createServer(function (request, response) {
// ...
});