New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@hackape/ss

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hackape/ss

Simple static server cli

0.1.4
latest
Source
npm
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

ss - Static Server CLI

ss is built on top of serve by @ZEIT. It serves the same purpose of serving static files, but adds some nice features to help you manage your target directories.

Usage

Installation

ss is a CLI tool meant to be installed globally:

yarn global add serve

add command

Before you start serving static files, first add your target directory and give it a memorable alias:

ss add <my-alias> </path/to/my-app>

Relative path is acceptable, will be resolved relative to your current working directory.

use command

ss use <my-alias>

Set the current serving directory to one of your added alias.

serve command

ss serve

Start serving the current target directory.

Keywords

serve

FAQs

Package last updated on 29 Jan 2019

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