Socket
Socket
Sign inDemoInstall

nandokujs

Package Overview
Dependencies
0
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    nandokujs

nandokujs is an obfuscation tool for obfuscating javascript files to be published on the Web and making it difficult to analyze the contents.


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Install size
126 kB
Created
Weekly downloads
 

Readme

Source

What is nandokujs

Downloads Version License

nandokujs is an obfuscation tool for obfuscating javascript files to be published on the Web and making it difficult to analyze the contents.

You can make your keycode mandatory for running javascript files, with your own tally code.

In this way, javascript files are obfuscated, so important logic is not exposed to the Web in plain text.

Installation

※ It is assumed that nodejs is installed and npm can be used.

$ npm install -g nandokujs

How to use

The usage can be confirmed by executing the command.

Files obfuscated by nandokujs are output as [js file name].nan.js.

$ nandokujs [js file name] [tally code]
  [js file name]  Set the js file name to be converted.
  [tally code]  Set tally code.
                html side js call (<script src='target js'></script>)に
                  <script> var _$tallyCode = 'tally code'; </script>
                Define.
                If you do not use it, please do not set it.

 Files obfuscated by nandokujs are output as [js file name] .nan.js.

Set the javascript file to be converted to the first argument.

The second argument is optional, but you can set it to a tally code.

In that case, it is necessary to code as follows for the javascript caller to publish on the web.


<script>
  var _$tallyCode = "tally code";
</script>
<script src="target javascript.nan.js"></script>

exsample

Obfuscation with command.


$ nandokujs cbox-min.js test

The following call is described in html using js file.


<script>
  var _$tallyCode = "test";
</script>
<script src="cbox-min.js.nan.js"></script>

Finally

With this tool, I hope to be a good deal for web development.

Keywords

FAQs

Last updated on 28 Jun 2019

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