Socket
Book a DemoInstallSign in
Socket

staticthis

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

staticthis

A simple, globally installed static web-server, based on express, to quickly and easily server static files from the directory in which you execute the process. Typically used for quickly reviewing a locally created website.

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

Static This

This is a very simple node module that is installed globally and can be used to quickly start a static-web server for any directory.

Simple use-cases that come to mind:

  • Rapid preview of an in-development website
  • Show web files, such as JS and CSS, directly in the web-browser without needing to show the file:// protocol with the complete path to that file
  • View technical documentation that may be in HTML format, such as javadocs

Installation

npm install -g staticthis

Usage

For the current directory:

staticthis

To run on a different port (default is 9100) and to use a different directory:

staticthis -p 1234 -d public

... optionally ...

staticthis -p 1234 -d ./public

... and finally...

staticthis -p 1234 -d /usr/local/var/www

Keywords

express

FAQs

Package last updated on 29 Jun 2016

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.