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.
A NodeJS wrapper implementation for Wialon Remote API
$ npm install --save wialon
Note: From 1st of October 2015 you will need to use the new token login method. Use this link to generate an access token.
Initialising a session:
var wialon = require( 'wialon' );
// using session.start()
var session = wialon().session;
session.start( { token : '<access token>' } )
.then( function ( data ) {
console.log( data );
} )
.catch( function ( err ) {
console.log( err );
} );
// auto-initialise a session by passing in authorization parameters to the factory method
var opts = {
// authz params
authz : {
token : '<access token>',
operateAs : 'username'
}
};
var session = wialon( opts ).session;
Send API requests using session object:
session.request( 'core/search_items', params )
.then( function ( data ) {
console.log( data );
} )
.catch( function ( err ) {
console.log( err );
} );
Using search helpers:
// grab a new search instance
var search = wialon( opts ).search();
// search for units
search.units( '*' )
.then( function ( data ) {
console.log( data );
} )
.catch( function ( err ) {
console.log( err )
} );
JSDoc generated API documentation can be found at http://nukedzn.github.io/node-wialon/docs/.
Contributions are welcome through GitHub pull requests (using fork & pull model).
FAQs
NodeJS wrapper for Wialon Remote API
The npm package wialon receives a total of 5 weekly downloads. As such, wialon popularity was classified as not popular.
We found that wialon 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.