Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lite-web-server

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lite-web-server

creates simple web server.

  • 1.2.2-beta.1636471500
  • beta
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-91.67%
Maintainers
1
Weekly downloads
 
Created
Source

lite-web-server

TotalDownloads GitHub commit activity m Node.js CI License

The npm package to create simple web server.

This will load files from ./public/ directory if it's not specified.

Please support developer by adding star to the Github Repository.

Documantation

Github Repository

NPM

Simple Example Usage

Install

npm i lite-web-server

Example

This server will load files from ./public/ directory.

var { WebServer } = require("lite-web-server");
var server = new WebServer();

server.start();

If you want to specify the directory to load a file, use the code below.

var { WebServer } = require("lite-web-server");
var server = new WebServer({
  dir: "./public_html/"
});

server.start();

License

© chasyumen 2021. Released under the MIT license

Keywords

FAQs

Package last updated on 09 Nov 2021

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc