Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
keiser-echip-utilities
Advanced tools
Utilities to assist development of applications utilizing the Keiser eChip and Keiser eChip Portal Tool.
You have following options to get started:
git clone git://github.com/KeiserCorp/Keiser.Air.eChipUtilities.git
npm install keiser-echip-utilities
Each release includes a minified distribution version of the library which can be loaded with a module loader, or as a stand alone library. The unminified source files are also able to be loaded with tools like browserify.
Module load the library with CommonJS:
var keu = require('keiser-echip-utilities');
Including the library as a stand-alone library:
<script src="keu.min.js"></script>
var keu = window.keu;
The library is namespaced to allow modular loading of individual library sections as needed.
The portalMessenger
library allows communication with the Keiser eChip Portal Tool.
portalMessenger.enable(onSendRequest, onReceiveRequest)
Begins communication with the Keiser eChip Portal Tool.
onSendRequest
argument is a function called whenever a request to get data is made by the portal. The function should return the object to be sent in response to the portal request.
onReceiveRequest
agrument is a function called whenever a request to send data is made by the portal. The function should receive a data
object and an onSuccess
function. The data
object is the data received from the portal. The onSuccess
function should be ran upon successful processing of the data
object.
Passing a null
as either argument will disable the corresponding portal capability.
var onSendRequest = function(data, onSuccess){
getUserData(user.id, function(result){
onSuccess(result);
});
};
var onReceiveRequest = function(data, onSuccess){
saveUserData(data);
onSuccess();
};
keu.portalMessenger.enable(onSendRequest, onReceiveRequest);
portalMessenger.disable()
Stops communication with the Keiser eChip Portal Tool. Communication can be resumed by using the enable
method.
machine.getMachineDetails(modelNum)
Retrieves machine details based on model number argument (modelNum
).
var details = machine.getMachineDetails(0x1335);
{
models: [0x1335, 0x133B],
name: 'Biaxial Chest Press',
line: 'A300',
extra: '',
}
Copyright Keiser Corporation under the MIT license.
FAQs
Keiser eChip Utilities
The npm package keiser-echip-utilities receives a total of 2 weekly downloads. As such, keiser-echip-utilities popularity was classified as not popular.
We found that keiser-echip-utilities 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
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.