
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
There are dozens of tools that compile some programming language to JavaScript. You can do it with C++, Java, C#, Python, Scala or Ruby. But there's one language that remains to be covered for JavaScript to dominate the world: JavaScript.
We did it. Meet js2js, a revolutionary compiler that transforms JavaScript directly to JavaScript!
To compile your code, use the following command:
node js2.js -i <input_file_or_directory> -o <output_file_or_directory>
Interesting fact: you can compile the code of js2js with js2js and everything will work as expected. Check this out:
>node js2.js -i js2.js -o js2.compiled.js -v
Welcome to js2js compiler.
Compiling js2.js...
Output is written to: js2.compiled.js
Done!
js2js is written in JavaScript and runs on Node.js.
You can fork the project, make your changes and send us pull requests. Or just share it with your friends and make some JavaScript fun together with js2js.
FAQs
Revolutionary open-source compiler from JavaScript to JavaScript
The npm package js2js receives a total of 5 weekly downloads. As such, js2js popularity was classified as not popular.
We found that js2js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.