0.51.8 • Published 4 years ago

@galtproject/js-ipfs v0.51.8

Weekly downloads
4
License
(Apache-2.0 OR MI...
Repository
github
Last release
4 years ago

Upgrading from <=0.40 to 0.48? See the release notes for the list of API changes and the migration guide.

We've come a long way, but this project is still in Alpha, lots of development is happening, APIs might change, beware of 🐉..

Getting started

Lead Maintainer

Alex Potsides

Table of Contents

Install

$ npm install ipfs

If you are planning on using js-ipfs on the command line, install it globally:

$ npm install -g ipfs

Browser CDN

You can load IPFS right in your browser by adding the following to your page using the super fast jsdelivr CDN:

<!-- loading the minified version using jsDelivr -->
<script src="https://cdn.jsdelivr.net/npm/ipfs/dist/index.min.js"></script>

<!-- loading the human-readable (not minified) version jsDelivr -->
<script src="https://cdn.jsdelivr.net/npm/ipfs/dist/index.min.js"></script>

Inserting one of the above lines will make an Ipfs object available in the global namespace:

<script>
async function main () {
  const node = await window.Ipfs.create()
  // Ready to use!
  // See https://github.com/ipfs/js-ipfs#core-api
}
main()
</script>

Browser bundle

Learn how to bundle IPFS into your application with webpack, parceljs and browserify in the examples.

Documentation

Getting started & constructor options

Core API

How to run IPFS in various environments

Different topics in detail

Questions?

Need help?

Please ask 'How do I?' questions on https://discuss.ipfs.io

Want to hack on IPFS?

npm.io

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

Read the Code of Conduct and JavaScript Contributing Guidelines.

  • Check out existing issues The issue 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 the IPFS Roadmap This are the high priority items being worked on right now
  • Perform code reviews More eyes will help a. speed the project along b. ensure quality, and c. reduce possible future bugs.
  • Add tests. There can never be enough tests.
  • Join the Weekly Core Implementations Call it's where everyone discusses what's going on with IPFS and what's next

Packages

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

PackageVersionDepsCI/TravisCoverageLead Maintainer
Files
ipfs-unixfs-exporternpmDepsTravis CIcodecovAlex Potsides
ipfs-unixfs-importernpmDepsTravis CIcodecovAlex Potsides
ipfs-unixfsnpmDepsTravis CIcodecovAlex Potsides
Repo
ipfs-reponpmDepsTravis CIcodecovAlex Potsides
Exchange
ipfs-block-servicenpmDepsTravis CIcodecovVolker Mische
ipfs-blocknpmDepsTravis CIcodecovVolker Mische
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
ipfs-repo-migrationsnpmDepsTravis CIcodecovN/A
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
libp2p-secionpmDepsTravis CIcodecovFriedel Ziegelmayer
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
ipldnpmDepsTravis CIcodecovVolker Mische
ipld-dag-pbnpmDepsTravis CIcodecovVolker Mische
ipld-dag-cbornpmDepsTravis CIcodecovVolker Mische
Multiformats
multihashingnpmDepsTravis CIcodecovHugo Dias
mafmtnpmDepsTravis CIcodecovVasco Santos
multiaddrnpmDepsTravis CIcodecovJacob Heun
multihashesnpmDepsTravis CIcodecovDavid Dias

This table is generated using the module package-table with package-table --data=package-list.json.

License

FOSSA Status

npm.io