From 2b518eb506526d98a330547612d9b5ebc05195f9 Mon Sep 17 00:00:00 2001 From: nbarikipoulos Date: Thu, 20 Aug 2020 23:59:48 +0200 Subject: [PATCH] Misc. doc update --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ca72056..c678e5b 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ | Package | gulp-cipher-value | | ------- | ----------------- | -| Description | Gulp wrapper for [json-cipher-value](https://github.com/nbarikipoulos/json-cipher-value). (Un)cipher values of json files retaining their types. | +| Description | Gulp wrapper for [json-cipher-value](https://github.com/nbarikipoulos/json-cipher-value). (De)cipher values of json files remaining their types. | ## Install @@ -19,12 +19,12 @@ npm install gulp-cipher-json --save-dev ```js -const gulp = require('gulp'); -const cipherJSON = require('gulp-cipher-json'); +const gulp = require('gulp') +const cipherJSON = require('gulp-cipher-json') gulp.task('default', _ => gulp.src('src/data/*.json') .pipe(cipherJSON( - 'decrypt', + 'encrypt', 'my secret password from anywhere' )) .pipe(gulp.dest('dist/data'))