1.1.1 • Published 3 years ago

pugserver v1.1.1

Weekly downloads
19
License
MPL-2.0
Repository
github
Last release
3 years ago

npm NPM Downloads GitHub release licence JavaScript Pug

Basic pug file server. Ideal for building local prototypes apart from any application. All other files are served statically as they usually would.

Installation

npm install -g pugserver

Create a folder

    + myfolder/
      - index.pug
      - example.css
      - example.js

Usage

pugserver path/to/myfolder

Open your browser to http://localhost:8080/

The path argument is optional. If not present it will default to current directory. You can choose to run your server on another port than 8080. To do so, use the -p flag followed by the port number:

pugserver -p 1337
1.1.1

3 years ago

1.1.0

4 years ago

1.0.4

5 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.0.2

8 years ago

0.0.1

8 years ago