
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 interface to SimSpark, the simulator used for the RoboCup 3D Soccer Simulation League
Node interface to SimSpark, the simulator used for the RoboCup 3D Soccer Simulation League
$ npm install simspark
var simspark = require('simspark')
// shortcut for simspark.Client({hostname:"localhost", port:3100})
var agent = new simspark.Agent()
// event fired once we are connected to the server and can send/receive msg
agent.on('connect', function() {
// send a message to the simulator. The message must be in SimSpark's s-expression format:
// http://simspark.sourceforge.net/wiki/index.php/Network_Protocol
agent.send([
// here we init the scene using the nao agent model
["scene", "rsg/agent/nao/nao.rsg"],
// spawn our robot, assigning it to a team and a number
["init", ["unum", 1], ["teamname", "BIG"]]
])
})
// event fired when the game state is updated
// events keys are lowercased to make it consistent and easier to remember
agent.on('gs', function (args) {
})
// server time
agent.on('time', function (args) {
})
// agent state
agent.on('agentstate', function (args) {
var temperature = args[0][1]
var battery = args[1][1]
})
// Force-resistance sensor
agent.on('frp', function (args) {
})
// Gyroscope sensor
agent.on('gyr', function (args) {
})
// Accelerometer sensor
agent.on('acc', function (args) {
})
// What the robot "see" (not an image, but semantic information)
agent.on('see', function (args) {
})
// Hinge Joint
agent.on('hj', function (args) {
})
// normal close
agent.on('close', function () {
// handle close
})
// network error
agent.on('error', function (err) {
})
var simspark = require('simspark')
// check that a server is running
// if not, one will be started
simspark.checkServer(function(){
// check that a monitor (OpenGL viewer) is running
// if not, one will be started
simspark.checkMonitor(function(){
})
})
FAQs
Node interface to SimSpark, the simulator used for the RoboCup 3D Soccer Simulation League
We found that simspark 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.