Security News
Opengrep Emerges as Open Source Alternative Amid Semgrep Licensing Controversy
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
ipfs-client
Advanced tools
A client for ipfs daemons
This module combines the ipfs-grpc-client and ipfs-http-client modules to give you a client that is capable of bidirectional streaming in the browser as well as node.
$ npm install ipfs-client
The client object created by the createClient
function supports the IPFS Core API, see the docs for more.
create([options])
None
An optional object which may have the following keys:
Name | Type | Default | Description |
---|---|---|---|
grpc | Multiaddr or string or URL | undefined | The address of a ipfs-grpc-server to connect to |
http | Multiaddr or string or URL | undefined | The address of a ipfs-http-server to connect to |
agent | http.Agent | undefined | A http.Agent used to control HTTP client behaviour (node.js only) |
Type | Description |
---|---|
object | An instance of the client |
import { create } from 'ipfs-client'
const client = create({
grpc: '/ipv4/127.0.0.1/tcp/5003/ws',
http: '/ipv4/127.0.0.1/tcp/5002/http'
})
const id = await client.id()
FAQs
A client library to talk to local IPFS daemons
The npm package ipfs-client receives a total of 323 weekly downloads. As such, ipfs-client popularity was classified as not popular.
We found that ipfs-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.