
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
Version 0.9
JaveScript bindings for libvita.
npm install vita
sudo node appName.js
All Libvita devices will have the following organization:
Board
|-Property 1
|-Property ...
|-Property N
|
|-Group 1
| |-Property 1
| |-Property ...
| |-Property N
| |
| |-Channel 1
| | |-Property 1
| | |-Property ...
| | |-Property N
| |-Channel ...
| |-Channel N
|-Group ...
|-Group N
var vita = require('vita');
var board = vita.open('boardName')
// or
vita.open('boardname', callback); // callback(err, board)
// 'boardname' is in the form 'usb:board_class/serial' (e.g. 'usb:CLASS_AN2006/123456')
board.setOutputs(group, channel, data, callback); // callback(err)
board.getInputs(group, channel, callback); // callback(err, data)
board.setProperty(group, channel, property, data, callback); // callback(err)
board.requestProperty(group, channel, property, callback); // callback(err, data)
board.startAgent(group, channel, interval, callback); // callback(err, data, agentId)
board.stopAgent(agentId);
board.close();
Because the Top Level functions are thin wrappers around Library Level functions, the Top Level has no defined behavior of its own. All work is handled at the Library Level
setOutputs: This function will set the outputs on a given group or channel in a device-specific manner. This function is asynchronous.
requestInputs: This function will make an asynchronous request to read back the value for a given group or channel. If given a callback, the callback function must be called when the requested inputs become ready.
setProperty: This function will set a property for the given board/group/channel.
requestProperty: This function will make an asynchronous request to read properties from hardware. The behavior of requestProperty should be effectively identical to that of requestInputs.
FAQs
A wrapper for the libvita library used to control Ansync devices.
We found that vita 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.