On May 11, 2:03 am, Fred Chien wrote:
> NPK aims to package project which is based on Node.js, and bundle all
> JavaScript files to make all in one file, even protect source code.
How does it protect the source code? What is to stop someone from
simply calling toString() on a function?
--
--
J
Currently, NPK is using Uglify-JS to do code protection, something's like
minimizing and obfuscation.
We are implementing a feature that putting JavaScript in C++ code and make
it become Node.js native module. I think it could do more things that's
like converting JavaScript to pure C++ code in fu
If you convert it back to javascript for V8, then anyone else could do the
same so you won't have really gained anything- no performance, because
you're giving V8 js anyway and no code protection, because anyone can take
your code and use it to convert the binary to javascript themselves.
It se
It's not easy to make V8 to run something other than JavaScript. V8 has no
implementation of bytecode, therefore the only way I think is that
converting JavaScript to C++ code. :-S
Fred
2013/5/11 Saleem Abdul Hamid
> If you convert it back to javascript for V8, then anyone else could do the
>
Correct me if I'm wrong, but however you do it, converting to binary is
going to be very hard with no conceivable advantage.
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are