dien
v1.0.0
Published
Simple static file server
Downloads
2
Readme
dien
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
- Fork it and create your feature branch: git checkout -b my-new-feature
- Commit your changes: git commit -am 'Add some feature'
- Push to the branch: git push origin my-new-feature
- Submit a pull request
License
MIT