📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
Socket
Sign inDemoInstall
Socket

gulp-template-html

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-template-html

Generate static HTML files from templates and content files

0.2.2
latest
Source
npm
Version published
Maintainers
1
Created
Source

gulp-template-html

NPM Version Build Status Dependency Status

Gulp plugin uses template-html to generate static HTML files from templates and content files.

Installation

$ npm install gulp-template-html

Gulpfile

var gulp = require('gulp'),
    template = require('gulp-template-html');

gulp.task('default', function () {
    return gulp.src('content/*.html')
      .pipe(template('templates/template.html'))
      .pipe(gulp.dest('dist'));
});

Example Usage

See the examples directory for an example of how to generate static HTML files from a template.

How to contribute

  • File an issue in the repository, using the bug tracker, describing the contribution you'd like to make. This will help us to get you started on the right foot.
  • Fork the project in your account and create a new branch: your-great-feature.
  • Commit your changes in that branch.
  • Open a pull request, and reference the initial issue in the pull request message.

License

See the LICENSE file.

FAQs

Package last updated on 10 Feb 2019

Did you know?

Socket

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