Socket
Socket
Sign inDemoInstall

contego

Package Overview
Dependencies
34
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.7 to 0.0.8

6

index.js

@@ -114,5 +114,3 @@

}
if (debug) {
console.log(`all js files contego'ed successfully`)
}
console.log(`all js files contego'ed successfully`)
}

@@ -151,2 +149,4 @@

}
src = src.replace(/\/+$/, '')
dest = dest.replace(/\/+$/, '')
convertAll(src, dest, program.uglify, program.error, program.debug, program.ignore)

@@ -153,0 +153,0 @@ })

{
"name": "contego",
"version": "0.0.7",
"description": "Simple code protect for javascript files",
"version": "0.0.8",
"description": "A simple tool to obfuscate++ your js code and make it harder for user to read source files ",
"main": "index.js",
"scripts": {},
"engines": {
"node": ">=8.0"
"node": ">=6.0"
},

@@ -15,3 +15,7 @@ "repository": {

"keywords": [
"protect"
"protect",
"code-protect",
"code",
"protection",
"uglify"
],

@@ -18,0 +22,0 @@ "author": "Pradeep Mishra <pradeep23oct@gmail.com>",

@@ -9,13 +9,16 @@

## Get Started
Contego is a simple tool to obfucate code and make it harder for user to read source code of files
A simple tool to obfuscate++ your js code and make it harder for user to read source files
## Usage
$ contego source_dir dest_dir -u true|false -d true|false -i ^\w\\.js$
- source_dir = source directory
- dest_dir = destination directory
- -u = use uglify, true or false
- -d = debug mode,true or false for extra logging
- -i = ignore regex string, provide regex to ignore any files define by user
``` bash
$ contego source_dir dest_dir -u true|false -d true|false -i ^\w+\.test.js$
```
- **source_dir** = source directory
- **dest_dir** = destination directory
- **-u** = use uglify, true or false
- **-d** = debug mode,true or false for extra logging
- **-i** = ignore files regex string, provide regex to ignore any files defined by user
## Example
``` bash
$ contego /Users/pradeep/myproject /Users/pradeep/myprojectdest -u true -d false
```
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