Socket
Socket
Sign inDemoInstall

@anzerr/http.server

Package Overview
Dependencies
3
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @anzerr/http.server

Simple http server


Version published
Weekly downloads
113
decreased by-15.67%
Maintainers
1
Install size
48.5 kB
Created
Weekly downloads
 

Readme

Source

Intro

GitHub Actions status | publish

Simple http server interface

Install
npm install --save git+https://github.com/anzerr/http.server.git
npm install --save @anzerr/http.server

Example

const {Server} = require('http.server');

let s = new Server(3670);
s.create((req, res) => {
	console.log('req');
	res.status(200).send(':)');
}).then(() => {
	console.log('started server');
});

Keywords

FAQs

Last updated on 21 Jan 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc