0.2.2 • Published 6 years ago

gulp-dotenv v0.2.2

Weekly downloads
166
License
MIT
Repository
github
Last release
6 years ago

gulp-dotenv

npm version Build Status Dependency Status devDependency Status

A .env file plugin for gulp: compiling .env to JSON

Installation

$ npm install gulp-dotenv --save

Usage

.env is a \n separated key-value configuration file like KEY=VALUE.

var dotenv = require('gulp-dotenv');
var rename = require('gulp-rename');

gulp.task('dotenv', function () {
  return gulp.src('.env')
    .pipe(dotenv())
    .pipe(rename('env.json'))
    .pipe(gulp.dest('dist'));
});

License

MIT © Pine Mizune

0.2.2

6 years ago

0.2.1

9 years ago

0.2.0

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago