Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Compile any language from the command line
Note: This project is in early development, and versioning is a little different. Read this for more details.
Based on a careful analysis of your location, the time of day, and the force with which you have been hitting keys on your keyboard, we have determined with 98% confidence that you might have been recently thinking, "Man, I really wish I could compile any js-based language via the command line just to quickly see the output". Well, you're in luck, that's pretty much exactly what accord cli will do for you.
Accord is a unified interface to a bunch of different compiled languages that you might be using as a part of your web stack. By ensuring that the interfaces are consistent, you can use any language that accord supports in the same way, without having to wade through pages of API docs to figure out how it's public API works. Most importantly, you can switch between two different languages with minimal pain. While accord is built for programmatic use, this project exposes a nice clean CLI interface so you can compile and watch from your command line. Whoo!
npm install accord-cli -g
...and make sure you also have whatever language(s) you want to compile installed globally as well. For example, if you were using jade, it would be:
$ npm install jade -g
To compile, just pass the filename with the --compile
or -c
flag:
$ accord -c foo.jade
To compile to a specific output location, use the --out
or -o
flag:
$ accord -c foo.jade -o bar.html
To compile with options, just put in your options as flags as such:
$ accord -c foo.jade --name 'doge' --location 'nyc'
To watch a file, recompiling it any time it changes, use the --watch
or -w
flag:
$ accord -w foo.jade
And if you want to compile multiple files with potentially different extensions like you would for a full web build, just use roots ya dumbo! For all usage options, just run accord
or accord help
FAQs
compile any language from the command line
We found that accord-cli 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.