New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gulp-gorender

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-gorender

Golang text.Template renderer

  • 0.3.2
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

gulp-gorender

Gulp plugin to render files with Go text.Template template engine.

Install

$ npm install --save-dev gulp-gorender

You also need to have gorender installed.

Usage

var gulp = require('gulp');
var gorender = require('gulp-gorender');

gulp.task('default', function () {
	return gulp.src('src/*.html', {html: true})
		.pipe(gorender({data: 'data'}))
		.pipe(gulp.dest('dist'));
});

API

gorender(options)

options
data

Type: String

The data directory.

Data files should be in JSON format.

include

Type: String

Include templates.

base

Type: String

Base template name.

html

Type: Boolean
Default: false

Use html.Template template package.

Keywords

FAQs

Package last updated on 23 Aug 2015

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc