This package has been deprecated

Author message:

use pug-cli

pugcompiler

1.0.2 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i pugcompiler

Weekly Downloads

0

Version

1.0.2

License

MPL

Last publish

Collaborators

  • ctrlaltdev