Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
/js-ipfsPublic archive

IPFS implementation in JavaScript

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
Unknown
LICENSE-APACHE
MIT
LICENSE-MIT
NotificationsYou must be signed in to change notification settings

ipfs/js-ipfs

⛔️ DEPRECATED:js-IPFS has been superseded byHelia

📚Learn more about this deprecation orhow to migrate

⚠️ If you continue using this repo, please note that security fixes will not be provided

IPFS in JavaScript logo

The JavaScript implementation of the IPFS protocol


Getting started

Table of Contents

Getting Started

Install as a CLI user

Installingipfs globally will give you thejsipfs command which you can use to start a daemon running:

$npm install -g ipfs$jsipfs daemonInitializing IPFS daemon...js-ipfs version: x.x.xSystem version: x64/darwinNode.js version: x.x.xSwarm listening on /ip4/127.0.... more output

You can then add a file:

$jsipfs add ./hello-world.txtadded QmXXY5ZxbtuYj6DnfApLiGstzPN7fvSyigrRee3hDWPCaf hello-world.txt

Install as an application developer

If you do not need to run a command line daemon, use theipfs-core package - it has all the features ofipfs but in a lighter package:

$npm install ipfs-core

Then start a node in your app:

import*asIPFSfrom'ipfs-core'constipfs=awaitIPFS.create()const{ cid}=awaitipfs.add('Hello world')console.info(cid)// QmXXY5ZxbtuYj6DnfApLiGstzPN7fvSyigrRee3hDWPCaf

Documentation

Structure

This project is broken into several modules, their purposes are:

Packages

List of the main packages that make up the IPFS ecosystem.

PackageVersionDepsCI/TravisCoverageLead Maintainer
Files
ipfs-unixfsnpmDepsTravis CIcodecovAlex Potsides
Repo
ipfs-reponpmDepsTravis CIcodecovAlex Potsides
ipfs-repo-migrationsnpmDepsTravis CIcodecovN/A
Exchange
ipfs-bitswapnpmDepsTravis CIcodecovDirk McCormick
IPNS
ipnsnpmDepsTravis CIcodecovVasco Santos
Generics/Utils
ipfs-utilsnpmDepsTravis CIcodecovHugo Dias
ipfs-http-clientnpmDepsTravis CIcodecovAlex Potsides
ipfs-http-responsenpmDepsTravis CIcodecovVasco Santos
ipfsd-ctlnpmDepsTravis CIcodecovHugo Dias
is-ipfsnpmDepsTravis CIcodecovMarcin Rataj
aegirnpmDepsTravis CIcodecovHugo Dias
libp2p
libp2pnpmDepsTravis CIcodecovJacob Heun
peer-idnpmDepsTravis CIcodecovVasco Santos
libp2p-cryptonpmDepsTravis CIcodecovJacob Heun
libp2p-floodsubnpmDepsTravis CIcodecovVasco Santos
libp2p-gossipsubnpmDepsTravis CIcodecovCayman Nava
libp2p-kad-dhtnpmDepsTravis CIcodecovVasco Santos
libp2p-mdnsnpmDepsTravis CIcodecovJacob Heun
libp2p-bootstrapnpmDepsTravis CIcodecovVasco Santos
@chainsafe/libp2p-noisenpmDepsTravis CIcodecovN/A
libp2p-tcpnpmDepsTravis CIcodecovJacob Heun
libp2p-webrtc-starnpmDepsTravis CIcodecovVasco Santos
libp2p-websocketsnpmDepsTravis CIcodecovJacob Heun
libp2p-mplexnpmDepsTravis CIcodecovVasco Santos
libp2p-delegated-content-routingnpmDepsTravis CIcodecovJacob Heun
libp2p-delegated-peer-routingnpmDepsTravis CIcodecovJacob Heun
IPLD
@ipld/dag-pbnpmDepsTravis CIcodecovN/A
@ipld/dag-cbornpmDepsTravis CIcodecovN/A
Multiformats
multiformatsnpmDepsTravis CIcodecovN/A
mafmtnpmDepsTravis CIcodecovVasco Santos
multiaddrnpmDepsTravis CIcodecovJacob Heun

This table is generated using the modulepackage-table withpackage-table --data=package-list.json.

Want to hack on IPFS?

The IPFS implementation in JavaScript needs your help! There are a few things you can do right now to help out:

Read theCode of Conduct andJavaScript Contributing Guidelines.

  • Check out existing issues Theissue list has many that are marked as'help wanted' or'difficulty:easy' which make great starting points for development, many of which can be tackled with no prior IPFS knowledge
  • Look at theIPFS Roadmap This are the high priority items being worked on right now
  • Perform code reviews More eyes will helpa. speed the project alongb. ensure quality, andc. reduce possible future bugs.
  • Add tests. There can never be enough tests.

License

FOSSA Status


[8]ページ先頭

©2009-2025 Movatter.jp