JSPM

gulp-javascript-obfuscator

1.1.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5509
  • Score
    100M100P100Q130383F
  • License MIT

Gulp plugin for javascript-obfuscator Node.JS package.

Package Exports

  • gulp-javascript-obfuscator

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gulp-javascript-obfuscator) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

gulp-javascript-obfuscator

Gulp plugin for javascript-obfuscator.

Installation

Install the package with NPM:

npm install --save gulp-javascript-obfuscator

Usage

var gulp = require('gulp'),
    javascriptObfuscator = require('gulp-javascript-obfuscator');


gulp.src('file.js')
    .pipe(javascriptObfuscator())
    .pipe(gulp.dest('dist'));

Options

Pass any options available in the obfuscator.

gulp.src('file.js')
    .pipe(javascriptObfuscator({
        compact:true,
        sourceMap: true
    }))
    .pipe(gulp.dest('dist'));

Using sourceMap option with value set to true will also output a .map file to Gulp stream.