Install with npm
npm install --save-dev gulp-toml
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 to @binaryMuse for toml-node. He did all the hard work.
MIT