# dien

> Simple static file server

Latest version **1.0.0** (published 2018-08-31) · MIT license · 0 weekly downloads

## Install

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

Provides the command `dien`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2018-08-31 |
| First published | 2018-08-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 3.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Tiaan du Plessis |
| Maintainers | tiaanduplessis |
| Keywords | server, static, files |

## Links

- npm: https://www.npmjs.com/package/dien
- Repository: https://github.com/tiaanduplessis/dien
- npm.io page: https://npm.io/package/dien

## Dependencies (3)

- [finalhandler](https://npm.io/package/finalhandler.md) ^1.1.1
- [serve-static](https://npm.io/package/serve-static.md) ^1.13.2
- [get-them-args](https://npm.io/package/get-them-args.md) ^1.3.2

## Alternatives

- [unionfs](https://npm.io/package/unionfs.md) — 2.2M weekly downloads
- [path-starts-with](https://npm.io/package/path-starts-with.md) — 35.9K weekly downloads
- [redzip](https://npm.io/package/redzip.md) — 1.2K weekly downloads
- [vscode-anymatch](https://npm.io/package/vscode-anymatch.md) — 848 weekly downloads
- [@ledgerhq/coin-filecoin](https://npm.io/package/@ledgerhq/coin-filecoin.md) — 793 weekly downloads

## Recent versions

- 1.0.0 (latest) — 2018-08-31

## README

# dien
[![package version](https://img.shields.io/npm/v/dien.svg?style=flat-square)](https://npmjs.org/package/dien)
[![package downloads](https://img.shields.io/npm/dm/dien.svg?style=flat-square)](https://npmjs.org/package/dien)
[![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)
[![package license](https://img.shields.io/npm/l/dien.svg?style=flat-square)](https://npmjs.org/package/dien)
[![make a pull request](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)

> Simple static file server

## Table of Contents

- [Install](#install)
- [Usage](#usage)
- [Contribute](#contribute)
- [License](#License)

## Install

This project uses [node](https://nodejs.org) and [npm](https://www.npmjs.com). 

```sh
$ npm install dien
$ # OR
$ yarn add dien
```

## Usage

```js
const dien = require('dien')

const dir = '.'
const port = 7777

dien(dir, port)

```

Using the CLI:

```sh
$ dien --port=9000 --dir=dist
```

## Contribute

1. Fork it and create your feature branch: git checkout -b my-new-feature
2. Commit your changes: git commit -am 'Add some feature'
3. Push to the branch: git push origin my-new-feature 
4. Submit a pull request

## License

MIT

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