1.0.0 • Published 6 years ago

dien v1.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

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