0.2.2 • Published 5 years ago

gulp-dotenv v0.2.2

Weekly downloads
166
License
MIT
Repository
github
Last release
5 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

5 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago