willscripted / gulp-toml

Gulp plugin for processing toml

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gulp-toml

Install

Install with npm

npm install --save-dev gulp-toml

Usage

var toml = require('gulp-toml'),
    json = JSON.stringify;

gulp.task('toml', function(){

  gulp.src()
    .pipe(toml({to: json, ext: '.json'})) // defaults
    .pipe(gulp.dest('./public/'));

});

Thanks

Thanks to @binaryMuse for toml-node. He did all the hard work.

License

MIT

About

Gulp plugin for processing toml

License:MIT License


Languages

Language:JavaScript 100.0%