New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

helia-ipfs-node

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

helia-ipfs-node

A helia ipfs node for upload files and sharing it beetwen nodes.

latest
npmnpm
Version
4.0.10
Version published
Weekly downloads
17
-41.38%
Maintainers
1
Weekly downloads
 
Created
Source

IPFS node.

Description.

A helia ipfs node for upload files and sharing it beetwen nodes.

Usage

Instantiate a node.

   import { HeliaNode } from '../src/lib.js'
  const node = new HeliaNode({ storePath: 'my/store/path' })
  await node.start()
  console.log('node started!')

Instantiate a gateway.

   import { Server } from '../src/lib.js'
  const gateway = new Server({ node, port: 8080 })
  await gateway.start()
  

Connections.

   import { HeliaNode } from '../src/lib.js'
  const node1 = new HeliaNode()
  await node1.start()
  console.log('node1 started!')
  
  const node2 = new HeliaNode({ wsPort: 4011 , tcpPort: 4012, 'my-store-path' })
  await node2.start()
  console.log('node2 started!')

  const node1Addrs = await node1.getMultiAddress()
  await node2.connect(node1Addrs[0])
  console.log('connected nodes!')
  

FAQs

Package last updated on 20 Mar 2026

Did you know?

Socket

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.

Install

Related posts