dien

1.0.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i dien

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

3.7 kB

Total Files

6

Last publish

Collaborators

  • tiaanduplessis