
Product
Rust Support in Socket Is Now Generally Available
Socket’s Rust and Cargo support is now generally available, providing dependency analysis and supply chain visibility for Rust projects.
grenache-nodejs-link
Advanced tools
In Grenache, grenache-nodejs-link communicates with the DHT.
Install Grenache Grape: https://github.com/bitfinexcom/grenache-grape:
npm i -g grenache-grape
// Start 2 Grapes
grape --dp 20001 --aph 30001 --bn '127.0.0.1:20002'
grape --dp 20002 --aph 40001 --bn '127.0.0.1:20001'
options <Object> Options for the link
grape <String> Address of the Grenache Grape instance. Communication is done via WebSocket or HTTP.requestTimeout <Number> Default timeout for requests to Grape,pingTimeout <Number> Ping connection timeout to Grape (triggers reconnect attempt),lruMaxSizeLookup <Number> Maximum size of the cache,
checked by applying the length function to all values
in the cachelruMaxAgeLookup <Number> Maximum cache age in ms.Sets up a connection to the DHT. Emits a connect event on
successful connection.
Stops the connection to the DHT. Emits a disconnect event on
successful disconnection.
name <String> Name of the service, used to find the service
from other peersUsed to announce a service, e.g. a RPC Server.
Keep announcing a service every ~2min (default) or specify interval in opts.interval
Stop announcing a service
data
v: <String> value to storecallback <function>Puts a value into the DHT. Example.
data
v: <String> value to stores: <Number> sequence numberopts
keys: <Object> contains ed25519-supercop private and public key
publicKey: <Buffer> public keysecretKey: <Buffer> private keycallback <function>Provides sugar for storing mutable, signed data in the DHT.
Example raw put
Example with putMutable
hash <String> Hash used for lookupcallback <function>Retrieves a stored value from the DHT via a hash <String>.
Callback returns err <Object> and data <Object>.
Example.
FAQs
Granache Node.js Link
The npm package grenache-nodejs-link receives a total of 69 weekly downloads. As such, grenache-nodejs-link popularity was classified as not popular.
We found that grenache-nodejs-link demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Product
Socket’s Rust and Cargo support is now generally available, providing dependency analysis and supply chain visibility for Rust projects.

Security News
Chrome 144 introduces the Temporal API, a modern approach to date and time handling designed to fix long-standing issues with JavaScript’s Date object.

Research
Five coordinated Chrome extensions enable session hijacking and block security controls across enterprise HR and ERP platforms.