Socket
Socket
Sign inDemoInstall

contego

Package Overview
Dependencies
35
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    contego

simple code protect for javascript files


Version published
Maintainers
1
Created

Readme

Source

Install

npm i contego -g 

Get Started

Contego is a simple tool to obfucate code and make it harder for user to read source code of files

Usage

$ contego -u js|es|null -d true|false -i ^\w\.js$

  • source dir = source directory
  • dest dir = destination directory
  • -u = use uglify, es for es6 files, js for es5 or below and null for skipping uglify
  • -d = debug mode, for extra logging
  • -i = ignore regex string, provide regex to ignore any files define by user

Example

$ contego /Users/pradeep/myproject /Users/pradeep/myprojectdest -u js -d false

Keywords

FAQs

Last updated on 05 Mar 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc