Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
@graffy/client
Advanced tools
Graffy client library for the browser, usin the `fetch()` or `WebSocket` APIs. This module is intended to be used with a Node.js server running Graffy Server.
Graffy client library for the browser, usin the fetch()
or WebSocket
APIs. This module is intended to be used with a Node.js server running Graffy Server.
import Graffy from '@graffy/core';
import client from '@graffy/client';
const store = new Graffy();
store.use(client(url, options));
// Add downstream providers to the store
An HTTP connection is used if the URL begins with http(s)://
, and a Websocket is used if it begins with ws(s)://
.
getOptions(operation, payload, options)
, a callback to get the options that should be passed to the server with each operation.connInfoPath
, a location in the store to put connection metadata. Defaults to connection
.If using a WebSocket connection, Graffy client creates a connection: { status: boolean }
node in the store. The location of this node can be controlled by the connInfoPath
option. Reading from or watching this node provides information about the current connection status. The application may explicitly tear-down or re-establish connections by writing false
or true
to it, respectively.
See Graffy documentation for more.
FAQs
Graffy client library for the browser, usin the `fetch()` or `WebSocket` APIs. This module is intended to be used with a Node.js server running Graffy Server.
The npm package @graffy/client receives a total of 206 weekly downloads. As such, @graffy/client popularity was classified as not popular.
We found that @graffy/client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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 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.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.