@cloud-cli/http
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

@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) {
  // ...
});

Readme

Keywords

Package Sidebar

Install

npm i @cloud-cli/http

Weekly Downloads

1

Version

1.1.0

License

MIT

Unpacked Size

2.13 kB

Total Files

4

Last publish

Collaborators

  • darlanalves