1.0.2 • Published 6 years ago

pugcompiler v1.0.2

Weekly downloads
5
License
MPL
Repository
github
Last release
6 years ago

npm licence GitHub tag GitHub release I love badges

Deprecated

Pugjs has their own pug CLI that does that: https://github.com/pugjs/pug-cli / https://www.npmjs.com/package/pug-cli

Pug Compiler

A simple pug file compiler. Tired of writing markup the long way? Write your pug, compile to html, and voilà.

installation

npm install -g pugcompiler

create a folder

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

usage

pugcompiler path/to/myfolder/pug

And voilà. your html is in place in the ./html/ directory.

The path argument is optional, if not present, it will default to './pug/'. If you have directories inside the folder containing your pug files, you might want to use the -R flag: pugcompiler -R

If you want your html to be compiled elsewhere than ./html/ you can specify it with -o flag: pugcompiler -o ./my/other/folder

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