Socket
Socket
Sign inDemoInstall

statify

Package Overview
Dependencies
69
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    statify

A static file server to make any directory available via HTTP from the command line.


Version published
Weekly downloads
1
decreased by-66.67%
Maintainers
2
Install size
2.21 MB
Created
Weekly downloads
 

Readme

Source

Statify

This is a simple static file server tool running on node.js and the Connect middleware framework.

It basically wraps the connect-static and connect-staticCache middleware to form a command line tool.

Installation

Statify can be installed via NPM

npm install -g statify

Usage

You can start a static HTTP server in any directory by launching the statify command in the current directory or by supplying another directory with the -d option. The default is the current working directory.

The -p option lets you specify the port that the server will be listening on. It defaults to port 8000.

-l enables simplistic directories listing.

Example: statify -d ~/Downloads -p 3000 will serve your "Downloads" directory on port 3000.

Keywords

FAQs

Last updated on 03 Jun 2014

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