Skip to content

simplehttp2server wrapper that makes it seamlessly available as a local dependency

Notifications You must be signed in to change notification settings

1000ch/simplehttp2server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simplehttp2server GitHub Actions Status

simplehttp2server serves the current directory on an HTTP/2.0 capable server. This server is for development purposes only.

You probably want simplehttp2server-cli instead.

Install

$ npm install --save simplehttp2server

Usage

import {execFile} from 'node:child_process';
import simplehttp2server from 'simplehttp2server';

execFile(simplehttp2server, error => {
  console.log('simplehttp2server is starting!');
});

License

MIT © Shogo Sensui