1.2.0 • Published 9 months ago

pug-simple v1.2.0

Weekly downloads
-
License
AGPL-3.0
Repository
github
Last release
9 months ago

pug-simple

Recursively traverses a directory tree, renders all .pug files in it to HTML and then writes them to the output directory with the same tree structure.

Given this:

pug/
├── files/
│   ├── index.pug
│   └── nested/
│       └── page.pug
└── templates/
    └── master.pug

Running this:

pugs pug/files/ site.com/

Outputs this:

site.com/
├── index.html
└── nested/
    └── page.html

Installation

npm install pug-simple

Usage

pugs pug/files/ site.com/

License

GNU Affero General Public License, version 3.

1.2.0

9 months ago

1.1.0

9 months ago

1.0.0

9 months ago