Newton's Programmatic Measurements

    gulp-encrypt

    0.2.0 • Public • Published

    gulp-encrypt

    NPM version Build Status Dependency Status

    gulp-encrypt plugin for gulp

    Usage

    First, install gulp-encrypt as a development dependency:

    npm install --save-dev gulp-encrypt

    Then, add it to your gulpfile.js:

    var encrypt = require("gulp-encrypt");
     
    gulp.src("./src/*.json")
        .pipe(encrypt({
            key: process.env.secretKey,
            decrypt: false || true
        }))
        .pipe(gulp.dest("./dist"));

    API

    gulp-encrypt(options)

    options.key

    Type: String
    Default: null

    options.decrypt

    Type: Boolean
    Default: false

    License

    MIT License

    Install

    npm i gulp-encrypt

    DownloadsWeekly Downloads

    27

    Version

    0.2.0

    License

    MIT

    Last publish

    Collaborators

    • charliedowler