Socket
Socket
Sign inDemoInstall

gulp-html2pug

Package Overview
Dependencies
48
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    gulp-html2pug

Gulp plugin to convert html files to pug


Version published
Weekly downloads
126
increased by472.73%
Maintainers
2
Created
Weekly downloads
 

Readme

Source

gulp-html2pug

Build Status npm package Coverage Status

Convert html files to pug

Install

$ npm install --save-dev gulp-html2pug

Usage

Convert index.html to pug/index.pug:

import gulp from 'gulp';
import html2pug from 'gulp-html2pug';

gulp.task('pug', () => 
  gulp.src('index.html')
    .pipe(html2pug(/* options for html2pug such as { fragment: true } */))
    .pipe(gulp.dest('pug'))
);

License

See the LICENSE file for license rights and limitations (MIT).

Keywords

FAQs

Last updated on 01 May 2024

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