Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
emcb-udp-coordinator
Advanced tools
Module to discover, communicate, and and manage EM Nodes using the EM Local Communications Protocol (EMLCP) with both broadcast and unicast traffic.
This node module allows you to experiment with the Energy Management Local Communications Protocol, or EMLCP, to query and control EM Devices, or, in the context of this documentation EM Nodes, and provides an example implementation leveraging best practices.
This Node.JS SDK, while a useful example of leveraging the protocol and utilizing best practices for common workflows, should be considered in an Alpha state and not suitable for production applications. However, the SDK is open-source and contributions to enhance the state of the SDK are encouraged!
Relevant Documentation can be found at:
Terminology:
NOTE: The implementation utilizes Emcb
and EMCB
as a prefix for several
entities and constants, such as EmcbUDPbroadcastCoordinator
and
EMCB_UDP_MESSAGE_CODE_GET_DEVICE_STATUS
, and this will be updated to use more
generic EmNode
and EM_LCP
terminology throughout in a later release.
npm install --save emcb-udp-coordinator
git clone https://github.com/EatonEM/emcb-udp-coordinator
cd emcb-udp-coordinator
npm install
This SDK exposes a pre-configured
winston@3
logger
. It also overrides console.log
, etc. so that
all logs are captured by winston.
These logs are written to both the console and to ./logs/
whenever the
emcb-udp-coordinator
is used to aid in debugging/understanding. See
docs/api.md for more information.
You will need the following installed in your environment:
This library was last updated on macOS using node v20.9.0. (It was originally developed and tested on macOS using node v10.14.3) v16 or greater of Node.js is required.
git
should be available in your $PATH
as npm
might need it. You can find
git at https://git-scm.com/.
The official Node.js website has an installer available for download.
For macOS, the preferred installation method is to use nvm (Node Version Manager). You can install nvm and the latest version of node using these commands:
# Download and install nvm
$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
# Install node.
$ nvm install v20
# set the default `node` on your $PATH in your current terminal session to the version you just installed
$ nvm use v20
# set the default "node" on your $PATH for all future terminal sessions
$ nvm alias v20 default
You can install nodejs and npm easily with apt install, just run the following commands:
# Install Node.JS
$ sudo apt install nodejs
# Install NPM
$ sudo apt install npm
You can find more information about the installation on the official Node.js website and the official NPM website.
If the installation was successful, you should be able to run the following command and get your version output
$ node --version
# v20.9.0
$ npm --version
# 10.2.4
If you need to update npm
, you can make it using npm
! After running the
following command, simply reopen your terminal
# Update NPM
$ npm install npm -g
FAQs
Module to discover, communicate, and and manage EM Nodes using the EM Local Communications Protocol (EMLCP) with both broadcast and unicast traffic.
The npm package emcb-udp-coordinator receives a total of 7 weekly downloads. As such, emcb-udp-coordinator popularity was classified as not popular.
We found that emcb-udp-coordinator demonstrated a healthy version release cadence and project activity because the last version was released less than 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
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.