dien
Simple static file server
Last updated 2 years ago by tiaanduplessis .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install dien 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.0                                ...           latest (2 years ago)

1 Versions

  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (3)
Dev Dependencies (1)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |