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.
arduino-node
Advanced tools
🎁 Cross-Platform Arduino IDE in nodeJS
$ npm install --save arduino-node
const arduino = require('arduino-node');
const arduLatest = arduino({path: 'bin'});
arduLatest.run(['--verify', './your-project/your-project.ino'], (err, out) => {
if (err) {
console.log(err);
return;
}
console.log(out.stdout);
});
const ardu180 = arduino({path: 'bin', version: '1.8.0'});
ardu180.run(['--verify', './your-project/your-project.ino'], (err, out) => {
if (err) {
console.log(err);
return;
}
console.log(out.stdout);
});
Creates a new arduino
instance.
Type: object
Type: string
Default: 'latest'
The Arduino IDE version to use.
Type: string
Default: 'bin'
The path where Arduino IDE will resides.
Runs the Arduino IDE binary. If the binary is not loaded it will also load it.
Type: array
Default: []
An array of arguments to pass to the Arduino IDE.
Type: function
Returns a possible error and the output object.
Runs the search for the Arduino IDE binary. If no binary is found it will download it from arduino-version
.
Type: function
Removes downloaded Arduino IDE binary, if present.
Type: function
Returns the full path to the Arduino IDE binary.
Returns the full path where the Arduino IDE will downloaded to.
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE file for details.
FAQs
A wrapper of the Arduino IDE binary written in nodeJS
We found that arduino-node 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.