npm.io
1.0.0 • Published 8 years agoCLI

dien

Licence
MIT
Version
1.0.0
Deps
3
Size
4 kB
Vulns
0
Weekly
0

dien

package version package downloads standard-readme compliant package license make a pull request

Simple static file server

Table of Contents

Install

This project uses node and npm.

$ npm install dien
$ # OR
$ yarn add dien

Usage

const dien = require('dien')

const dir = '.'
const port = 7777

dien(dir, port)

Using the CLI:

$ 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

Keywords