
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.
node-r-runner
Advanced tools
Node.js module for running R scripts
R needs to already be installed, and jsonlite R library needs to be installed.
yarn add node-r-runner or npm install node-r-runner
In an R file:
input[[1]] + input[[2]]
In node:
const { R } = require('node-r-runner')
let r = new R('./add.R')
// optionally pass an options object used in child_process spawn calls
let r = new R('./add.R', {env: {PATH: '/bin:/location/to/R/bin'}})
// data is converted to a list variable `input` in the R script
r.data(2, 3)
// call the script async
r.call()
.then(response => response === 5) // true
.catch(e => console.log('error : ', e))
// OR call the script async
let result = r.callSync() // could raise an exception
result === 5 // true
FAQs
Node.js module for running R scripts
We found that node-r-runner 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.