# pugcompiler

> a pug compiler

Latest version **1.0.2** (published 2018-02-05) · MPL license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install pugcompiler
pnpm add pugcompiler
yarn add pugcompiler
bun add pugcompiler
```

Provides the command `pugcompiler`.

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2018-02-05 |
| First published | 2016-11-01 |
| Weekly downloads | 0 |
| License | MPL |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Yorick |
| Maintainers | ctrlaltdev |
| Keywords | pug, compile, node, html |

## Links

- npm: https://www.npmjs.com/package/pugcompiler
- Repository: https://github.com/ctrlaltdev/pug-compiler
- Homepage: https://github.com/ctrlaltdev/pug-compiler#readme
- Issues: https://github.com/ctrlaltdev/pug-compiler/issues
- npm.io page: https://npm.io/package/pugcompiler

## Dependencies (2)

- [pug](https://npm.io/package/pug.md) ^2.0.0-rc.4
- [minimist](https://npm.io/package/minimist.md) ^1.2.0

## Alternatives

- [@tsparticles/shape-image](https://npm.io/package/@tsparticles/shape-image.md) — 303.7K weekly downloads
- [@tsparticles/shape-line](https://npm.io/package/@tsparticles/shape-line.md) — 233.7K weekly downloads
- [stringify-attributes](https://npm.io/package/stringify-attributes.md) — 58.6K weekly downloads
- [mobile-drag-drop](https://npm.io/package/mobile-drag-drop.md) — 46.3K weekly downloads
- [@comunica/actor-rdf-parse-html](https://npm.io/package/@comunica/actor-rdf-parse-html.md) — 29.2K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2018-02-05
- 1.0.1 — 2017-11-07
- 1.0.0 — 2017-10-31
- 0.0.2 — 2016-11-01
- 0.0.1 — 2016-11-01

## README

[![npm](https://img.shields.io/npm/v/pugcompiler.svg?style=flat-square)](https://www.npmjs.com/package/pugcompiler)
[![licence](https://img.shields.io/npm/l/pugcompiler.svg?style=flat-square)](https://github.com/ctrlaltdev/pug-compiler/blob/master/LICENCE.md)
[![GitHub tag](https://img.shields.io/github/tag/ctrlaltdev/pug-compiler.svg?style=flat-square)](https://github.com/ctrlaltdev/pug-compiler/tags)
[![GitHub release](https://img.shields.io/github/release/ctrlaltdev/pug-compiler.svg?style=flat-square)](https://github.com/ctrlaltdev/pug-compiler/releases)
[![I love badges](https://img.shields.io/badge/I%20love-badges-FF00FF.svg?style=flat-square)](https://shields.io)

### 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`](https://pugjs.org) file compiler. Tired of writing markup the long way? Write your pug, compile to html, and voilà.

installation
``` sh
npm install -g pugcompiler
```

create a folder

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

usage
``` sh
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`

---
_Source: https://npm.io/package/pugcompiler · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
