i have script test.js with content
console.log('Hello, this is EncloseJS test.');
Later will be in this file some function or other important code.
I compile it with enclose js like enclose test.js -o test.bin
Now, i need exec it in my javascript application.
I tried something like require('test.bin')
or eval('test.bin');
but i think, it is not right way.
Can someone hel me? Thanks.
You could try this way:
Never tried it , but do give me a feedback