gulp-art

0.0.1 • Public • Published

gulp-art

A gulp plugin for art-template

Install

$ npm install gulp-art

$ Basic Usage Template file:

<!-- dome.art  -->
<h1>{{title}}</h1>

Gulpfile

var template  = require('gulp-art');
var gulp = require('gulp');

gulp.task('default', function () {
	gulp.src("demo.art")
		.pipe(template({
			data : {
				"title" : "gulp-art"
			}
		}))
		.pipe(gulp.dest('dist'));
});

Output:

<!-- dome.html  -->
<h1>gulp-art</h1>

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    0

Package Sidebar

Install

npm i gulp-art

Weekly Downloads

0

Version

0.0.1

License

ISC

Last publish

Collaborators

  • kdylan