1.2.1 • Published 7 years ago

gulp-triplet v1.2.1

Weekly downloads
1
License
ISC
Repository
github
Last release
7 years ago

Gulp plugin for triplet strings.

Transforms this:

function hello() {
    var x = """
        hello
        world
    """;
}

into this:

function hello() {
    var x =


    "hello\nworld\n";
}

See the triplet package for more information.

Usage:

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

gulp.src('./src/**/*.js', { buffer: false })
    .pipe(triplet())
    .pipe(gulp.dest('./lib'));