# webhere

> Create a web server in the current directory.

Latest version **1.1.0** (published 2019-03-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install webhere
pnpm add webhere
yarn add webhere
bun add webhere
```

Provides the command `webhere`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2019-03-13 |
| First published | 2016-06-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.10 |
| Dependencies | 1 |
| Unpacked size | 18.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | liuhongqiang |
| Maintainers | liuhongqiang |
| Keywords | webhere, server, web server |

## Links

- npm: https://www.npmjs.com/package/webhere
- Repository: https://github.com/smallyard/webhere
- Homepage: https://github.com/smallyard/webhere#readme
- Issues: https://github.com/smallyard/webhere/issues
- npm.io page: https://npm.io/package/webhere

## Dependencies (1)

- [commander](https://npm.io/package/commander.md) 2.9.0

## Recent versions

- 1.1.0 (latest) — 2019-03-13
- 1.0.3 — 2018-09-19
- 1.0.2 — 2018-09-19
- 1.0.1 — 2016-07-04
- 1.0.0 — 2016-07-03
- 0.0.8 — 2016-07-01
- 0.0.7 — 2016-07-01
- 0.0.6 — 2016-06-30
- 0.0.5 — 2016-06-30
- 0.0.4 — 2016-06-30
- 0.0.3 — 2016-06-30
- 0.0.2 — 2016-06-30
- 0.0.1 — 2016-06-30

## README

# webhere

Create a web server in the current directory. 

[![NPM version](https://img.shields.io/npm/v/webhere.svg?style=flat)](https://npmjs.org/package/webhere)
[![Build Status](https://travis-ci.org/smallyard/webhere.svg?branch=master)](https://travis-ci.org/smallyard/webhere)
[![NPM downloads](http://img.shields.io/npm/dm/webhere.svg?style=flat)](https://npmjs.org/package/webhere)

---

## Install

```
npm i -g webhere
```

## Usage
```shell
# create a web server in the current directory with default port 9000
webhere
```

```bash
# create a web server with port 5000
webhere -p 5000
```

```bash
# create a web server in the /home directory with port 5000
webhere -p 5000 -b /home
```

```bash
# don't open browser
webhere -s
```

## All options
```
Usage: webhere [options]
Options:
   -h, --help             output usage information
   -V, --version          output the version number
   -p, --port <n>         port of web (default 9000)
   -b, --basePath <path>  base path of web (default .)
   -s, --silent           silent mode, don't open browser
```

## Log
```
Server has started.
Server address: http://127.0.0.1:9000
```

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