# gulp-processjade

> Process jade files at build time to modify them as you wish

Latest version **0.4.2** (published 2015-11-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install gulp-processjade
pnpm add gulp-processjade
yarn add gulp-processjade
bun add gulp-processjade
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.4.2 |
| Published | 2015-11-19 |
| First published | 2015-10-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Souvik Basu |
| Maintainers | souvikbasu |
| Keywords | gulpplugin, process jade, process html, process, jade, jade processor |

## Links

- npm: https://www.npmjs.com/package/gulp-processjade
- Repository: https://github.com/meanhub/gulp-processjade
- Homepage: https://github.com/meanhub/gulp-processjade#readme
- Issues: https://github.com/meanhub/gulp-processjade/issues
- npm.io page: https://npm.io/package/gulp-processjade

## Dependencies (2)

- [through2](https://npm.io/package/through2.md) latest
- [gulp-util](https://npm.io/package/gulp-util.md) latest

## 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

- 0.4.2 (latest) — 2015-11-19
- 0.4.1 — 2015-10-04
- 0.4.0 — 2015-10-04
- 0.2.0 — 2015-10-04
- 0.1.0 — 2015-10-04
- 0.0.6 — 2015-10-04
- 0.0.5 — 2015-10-04
- 0.0.4 — 2015-10-04
- 0.0.3 — 2015-10-03
- 0.0.2 — 2015-10-03
- 0.0.1 — 2015-10-03

## README

# gulp-processjade

Gulp plugin to process/transform jade files. This is based on similar lines as Adam Timberlake's [gulp-processhtml](https://github.com/Wildhoney/gulp-processhtml)

![License MIT](http://img.shields.io/badge/License-MIT-lightgrey.svg?style=flat)

* **npm:** `npm install gulp-processjade --save-dev`

## Gulpfile

```js
var gulp = require('gulp'),
    processjade = require('gulp-processjade')
    opts = { /* plugin options */ };

gulp.task('default', function () {
    return gulp.src('./*.jade')
               .pipe(processjade(opts))
               .pipe(gulp.dest('dist'));
});
```

## Example Usage

You might need to change some attributes in your jade, when you're releasing
for a different environment.

Using this plugin, you can transform this:

```
doctype html
html
  head
    // build:css style.min.css
    link(rel='stylesheet', href='css/style.css')
    // /build
  body
    // build:js app.min.js
    script(src='app.js')
    // /build
    // build:remove
    script(src='http://192.168.0.1:35729/livereload.js?snipver=1')
    // /build
    // build:replace 'Goodbye Livereload...'
    script(src='http://192.168.0.1:35729/livereload.js?snipver=1')
    // /build
```

To this:

```
doctype html
html
  head
    link(rel='stylesheet', href='style.min.css')
  body
    script(src='app.min.js')
    | Goodbye Livereload...

```

## Credits

[Denis Ciccale](https://twitter.com/tdecs)
[Adam Timberlake](https://github.com/Wildhoney)

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