# @hackape/ss

> Simple static server cli

Latest version **0.1.4** (published 2019-01-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install @hackape/ss
pnpm add @hackape/ss
yarn add @hackape/ss
bun add @hackape/ss
```

Provides the command `ss`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.4 |
| Published | 2019-01-29 |
| First published | 2019-01-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | hackape |
| Maintainers | hackape |
| Keywords | serve, http-server, static-server |

## Links

- npm: https://www.npmjs.com/package/@hackape/ss
- Repository: https://github.com/hackape/ss
- Homepage: https://github.com/hackape/ss#readme
- Issues: https://github.com/hackape/ss/issues
- npm.io page: https://npm.io/package/@hackape/ss

## Dependencies (4)

- [chalk](https://npm.io/package/chalk.md) ^2.4.2
- [lodash](https://npm.io/package/lodash.md) ^4.17.11
- [commander](https://npm.io/package/commander.md) ^2.19.0
- [serve-handler](https://npm.io/package/serve-handler.md) ^5.0.7

## Recent versions

- 0.1.4 (latest) — 2019-01-29
- 0.1.3 — 2019-01-29
- 0.1.1 — 2019-01-29
- 0.1.0 — 2019-01-28

## README

# ss - Static Server CLI

`ss` is built on top of [`serve`](https://github.com/zeit/serve) by [@ZEIT](https://github.com/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.

---
_Source: https://npm.io/package/@hackape/ss · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
