Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@p4d/hermes-nodejs
Advanced tools
Small NPM package that forwards event messages to the queue server (RPi-Queue) through a socket server on port 9999.
npm install --save @p4d/hermes-nodejs
const Hermes = require('@p4d/hermes-nodejs')
// Specifying configuration
var hermes = new Hermes({
type: 'testAppData',
project: {
id: 'test_project',
name: 'Test Project'
},
kronosId: 'abc123'
})
// Using default RPi information (Requires properly configured Raspberry Pi)
var hermes = new Hermes({
type: 'testAppData'
})
To configure RPi use rpi-config.
hermes.send(data)
Where data is a JSON object.
const Hermes = require('@p4d/hermes-nodejs')
var hermes = new Hermes({
type: 'testAppData',
project: {
id: 'test_project',
name: 'Test Project'
},
kronosId: 'abc123'
})
var data = {
name: 'new_experience',
experience_id: 2
}
hermes.send(data)
This module requires that the queue server is correctly configured. It does not send messages on it's own. For documentation on the queue server see: RPi-Queue
FAQs
Hermes messaging library - server version
We found that @p4d/hermes-nodejs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.