title: Compiling or obfuscating node js
body: <p>I have an existing node js backend that need to deploy on customer premise. I would like to compile/obfuscate the code before passing to client.</p>
  
  <p>I do not know whether it is "compilable".
  But at very least i want to have only single merged code into <code>index.js</code> file (other javascript file all remove) that is obfuscated before passing to client.
  Is there any existing npm module that does that and how reliable that an obfuscated code work as it is then original code.</p>
  
  <p>What are your company/ ways to deal with it when u need to pass an existing node js source code deployable at client premise. </p>
  
  <p>I am much more looking at existing library that can automate the whole process.
  eg: npx run obfuscate-code --entrypoint.js (it will search all the import/require from node js and compile everything.</p>
  
  <pre><code>Folder structure is as follow.
      home
       - controllers (folder)
         - file1.js
         - file2.js
       - languages (folder)
         - en.js
       - services (folder)
         - service1.js
         - service2.js
       - index.js (entry point)
  </code></pre>