@cloud-cli/http
v1.1.0
Published
Wrapper for Node.js HTTP server
Downloads
7
Readme
@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) {
// ...
});