Socket
Socket
Sign inDemoInstall

gulp-living-ruby-haml

Package Overview
Dependencies
57
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    gulp-living-ruby-haml

Actively maintained gulp plugin to invoke the ruby HAML gem.


Version published
Maintainers
1
Created

Readme

Source

gulp-living-ruby-haml

This gulp plugin lets you invoke the ruby HAML gem.

Usage


  var haml = require('gulp-living-ruby-haml');

  gulp.src('foo')
    .pipe(haml(options))
    .pipe(gulp.dest('bar'));

Installation

Install using npm. Adding the "--save-dev" switch will add this as a dependency to package.json.


  npm install gulp-living-ruby-haml --save-dev

Options

This plugin supports all the command line options offered by the HAML gem as of HAML version 3.1.7.


  // All of the following are optional
  // Run HAML --help on the command line to see what each of the switches mean.
  var options = {
    trace: true / false,
    'unix-newlines': true / false,
    c: true/false,
    check: true / false,
    style: 'ugly' / 'indented',
    format: 'xhtml' / 'html4' / 'html5'
    e: true / false,
    'escape-html': true / false,
    q: true / false,
    'double-quote-attributes': true / false,
    r: 'String FILE',
    require: 'String FILE',
    I: 'PATH',
    'load-path': 'PATH',
    'debug': true / false
  };

Credits

The plugin draws heavily from gulp-ruby-haml plugin and seeks to improve upon it, and be actively maintained (thus 'living'). Patches and bug reports are welcome and will be responded to.

Keywords

FAQs

Last updated on 05 May 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc