0.18.1 • Published 10 months ago

ipfs-core v0.18.1

Weekly downloads
2,307
License
Apache-2.0 OR MIT
Repository
github
Last release
10 months ago

⛔️ DEPRECATED: js-IPFS has been superseded by Helia

📚 Learn more about this deprecation or how to migrate

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

ipfs-core

ipfs.tech Discuss codecov CI

JavaScript implementation of the IPFS specification

Table of contents

Install

$ npm i ipfs-core

Browser <script> tag

Loading this module through a script tag will make it's exports available as IpfsCore in the global namespace.

<script src="https://unpkg.com/ipfs-core/dist/index.min.js"></script>

ipfs-core

ipfs-core is the implementation of the IPFS Core API written in JavaScript without depending on other languages/implementations. It contains all you need to integrate IPFS into your application.

If you want to run IPFS as a standalone daemon process, see the ipfs module.

Getting Started

The ipfs-core package contains all the features of ipfs but in a lighter package without the CLI or HTTP servers:

$ npm install ipfs-core

Then start a node in your app:

import * as IPFS from 'ipfs-core'

const ipfs = await IPFS.create()
const { cid } = await ipfs.add('Hello world')
console.info(cid)
// QmXXY5ZxbtuYj6DnfApLiGstzPN7fvSyigrRee3hDWPCaf

Next Steps

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-core/dist/index.min.js"></script>

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

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

<script>
async function main () {
const node = await window.IpfsCore.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.

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
  • 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.

License

Licensed under either of

Contribute

Contributions welcome! Please check out the issues.

Also see our contributing document for more information on how we work, and about contributing in general.

Please be aware that all interactions related to this repo are subject to the IPFS Code of Conduct.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

npm.io

demusic-metadatatslib-holy@solcial/client@cryptobash/kernel@conun-global/web3.storage@infinitebrahmanuniverse/nolb-ipf@dash-incubator/dapp-sdkdefine-orbitipfs@everything-registry/sub-chunk-1929@carmel/react@cypsela/opal@decooio/sdk@defi-wonderland/prophet-sdk@capsulesocial/ipfs-wrapper@geo-web/contentwnfs-migrationtrystero-fixsk-chainstream-swap@ceramicnetwork/ceramic-cli@cinderlink/client@hypercerts-org/hypercerts-sdk@douganderson444/ipld-car-txs@huddle01/divergent-node@0xvaibhav/--core@0xvaibhav/divergent-node@0xvaibhav/ipfs-messenger@ipfs-shipyard/pinning-service-compliance@dustil/ipfs-daemon@dstack-js/ipfs@dx-gov-test/dxdao-contracts@filecoin-renewable-energy-purchases/js-api@labdao/openlab-cli@js-ligo/agreements@lemii/lisk-ipfs-plugin@metameta/v1-sdk-js@mdip/client@network-goods/hypercerts-sdk@nerfzael/wrap-persistence-node@mandeep-self/mdip-client-privatemt-libp2pmpmggnebulunebulus@znetstar/attic-server@zkfs/node@zkfs/storage-orbit-dbnft-data-fetchernft-web3nft-fetch@workerhive/server@workerhive/ipfs@workhard/react-core@workhard/react-sdk@workhard/react-utils@wraplib/ipfs-plugin-wrapper@xmader/ipfs@restroom-mw/planetmint@skyekiwi/protocol@uqbar/wallet-uiember-cli-deploy-ipfsember-data-orbitdb-adapterember-cli-ipfsfragipfs-typefragment-ipfsnj_dmvangular-ipfs-serviceascertify-sdkgeo.ipfsgeo.ipfs-tsgeo.ipfsboxgeo.storagegeo-web-cadastremtcrawleemtipfslibmtipfsp2pmtxp2p@viral-network/viral.ixiopportunity-serviceopoo-sdkopoo-sdk-private@onlabsorg/ipfs-store@peopledata/minty@peopledata/peopledata-did-registrar@owlprotocol/nft-sdk@plebbit/plebbit-js@scio/ipfs-core-dist@satellite-im/iridium@three0dev/js-sdk@tinyverse.space/user-auth@tinyverse.space/web3messager@tinyverse.space/web3storage@ukstv/ipfs-fleetdroplabmodsdv2exng-ipfs-servicegaia-toolsforum3agregore
0.18.0-7b79c1b8

10 months ago

0.18.1

10 months ago

0.18.0-6d95ce08

10 months ago

0.18.0-e64813f6

10 months ago

0.18.0-4694e806

10 months ago

0.17.0-fa578bac

1 year ago

0.18.0-6eeb1be5

1 year ago

0.18.0-ab02e8f8

1 year ago

0.18.0

1 year ago

0.17.0-789ee585

1 year ago

0.18.0-b64d4af0

1 year ago

0.17.0-d1c3abb3

1 year ago

0.17.0-5f73ecad

1 year ago

0.18.0-3bcabe38

1 year ago

0.17.0-4b4c124c

1 year ago

0.17.0

1 year ago

0.16.0

2 years ago

0.16.1

2 years ago

0.15.4

2 years ago

0.15.0

2 years ago

0.15.1

2 years ago

0.15.2

2 years ago

0.15.3

2 years ago

0.14.3

2 years ago

0.14.2

2 years ago

0.12.3-rc.10

2 years ago

0.12.3-rc.13

2 years ago

0.12.3-rc.11

2 years ago

0.12.3-rc.12

2 years ago

0.12.3-rc.6

2 years ago

0.12.3-rc.7

2 years ago

0.12.3-rc.4

2 years ago

0.12.3-rc.5

2 years ago

0.12.3-rc.8

2 years ago

0.12.3-rc.9

2 years ago

0.12.3-rc.2

2 years ago

0.12.3-rc.3

2 years ago

0.12.3-rc.1

2 years ago

0.13.1-5439a0e.0

2 years ago

0.13.0

2 years ago

0.14.0

2 years ago

0.14.1

2 years ago

0.13.1-rc.2

2 years ago

0.13.1-rc.1

2 years ago

0.13.1-rc.0

2 years ago

0.13.1-rc.5

2 years ago

0.13.1-rc.4

2 years ago

0.13.1-rc.3

2 years ago

0.11.2-rc.5

2 years ago

0.11.2-rc.6

2 years ago

0.12.1-rc.0

2 years ago

0.12.1-rc.1

2 years ago

0.12.2-rc.3

2 years ago

0.12.0

2 years ago

0.12.1

2 years ago

0.12.2

2 years ago

0.12.2-rc.2

2 years ago

0.12.2-rc.1

2 years ago

0.12.2-rc.0

2 years ago

0.12.3-rc.0

2 years ago

0.11.2-rc.4

2 years ago

0.11.2-rc.3

2 years ago

0.11.2-rc.2

2 years ago

0.11.2-rc.1

2 years ago

0.11.1-rc.5

3 years ago

0.11.1

3 years ago

0.11.2-rc.0

3 years ago

0.11.1-rc.3

3 years ago

0.11.1-rc.2

3 years ago

0.11.1-rc.1

3 years ago

0.11.1-rc.0

3 years ago

0.11.0

3 years ago

0.10.9-rc.18

3 years ago

0.10.9-rc.17

3 years ago

0.10.9-rc.16

3 years ago

0.10.9-rc.15

3 years ago

0.10.9-rc.12

3 years ago

0.10.9-rc.14

3 years ago

0.10.9-rc.1

3 years ago

0.10.7-rc.4

3 years ago

0.10.7

3 years ago

0.10.8

3 years ago

0.10.8-rc.0

3 years ago

0.10.9-rc.0

3 years ago

0.10.7-rc.1

3 years ago

0.10.6-rc.5

3 years ago

0.10.6-rc.4

3 years ago

0.10.6

3 years ago

0.10.6-rc.1

3 years ago

0.10.6-rc.2

3 years ago

0.10.5

3 years ago

0.10.5-rc.7

3 years ago

0.10.5-rc.8

3 years ago

0.10.5-rc.6

3 years ago

0.10.4

3 years ago

0.10.5-rc.3

3 years ago

0.10.5-rc.2

3 years ago

0.10.5-rc.5

3 years ago

0.10.5-rc.4

3 years ago

0.10.4-rc.3

3 years ago

0.10.4-rc.4

3 years ago

0.10.1

3 years ago

0.10.2

3 years ago

0.10.3

3 years ago

0.10.1-rc.9

3 years ago

0.10.1-rc.7

3 years ago

0.9.2

3 years ago

0.10.4-rc.1

3 years ago

0.10.2-rc.1

3 years ago

0.10.1-rc.10

3 years ago

0.10.0

3 years ago

0.10.1-rc.6

3 years ago

0.10.1-rc.4

3 years ago

0.10.1-rc.5

3 years ago

0.9.2-rc.11

3 years ago

0.9.2-rc.8

3 years ago

0.9.2-rc.10

3 years ago

0.9.2-rc.6

3 years ago

0.9.2-rc.3

3 years ago

0.9.2-rc.2

3 years ago

0.9.1-rc.7

3 years ago

0.9.2-rc.1

3 years ago

0.9.1

3 years ago

0.9.1-rc.1

3 years ago

0.9.1-rc.2

3 years ago

0.9.1-rc.5

3 years ago

0.8.1-rc.11

3 years ago

0.8.1-rc.8

3 years ago

0.8.1-rc.9

3 years ago

0.8.1-rc.17

3 years ago

0.8.1-rc.14

3 years ago

0.9.0

3 years ago

0.8.1-rc.6

3 years ago

0.8.1-rc.3

3 years ago

0.8.1-rc.2

3 years ago

0.7.2-rc.4

3 years ago

0.7.2-rc.3

3 years ago

0.8.1-rc.1

3 years ago

0.8.0

3 years ago

0.7.2-rc.2

3 years ago

0.7.1-rc.3

3 years ago

0.7.1-rc.1

3 years ago

0.7.1-rc.4

3 years ago

0.6.2-rc.7

3 years ago

0.7.2-rc.1

3 years ago

0.6.2-rc.3

3 years ago

0.7.1

3 years ago

0.7.0

3 years ago

0.5.5-rc.11

3 years ago

0.5.5-rc.14

3 years ago

0.5.5-rc.19

3 years ago

0.5.5-rc.17

3 years ago

0.5.5-rc.18

3 years ago

0.6.2-rc.2

3 years ago

0.6.2-rc.1

3 years ago

0.6.1-rc.1

3 years ago

0.5.5-rc.30

3 years ago

0.5.5-rc.31

3 years ago

0.5.5-rc.32

3 years ago

0.5.5-rc.22

3 years ago

0.5.5-rc.20

3 years ago

0.5.5-rc.21

3 years ago

0.5.5-rc.26

3 years ago

0.5.5-rc.27

3 years ago

0.5.5-rc.24

3 years ago

0.5.5-rc.25

3 years ago

0.5.5-rc.28

3 years ago

0.5.5-rc.29

3 years ago

0.6.1

3 years ago

0.6.0

3 years ago

0.5.5-rc.3

3 years ago

0.5.4

3 years ago

0.5.3

3 years ago

0.5.3-rc.5

3 years ago

0.5.3-rc.4

3 years ago

0.5.2

3 years ago

0.5.1

3 years ago

0.5.0

3 years ago

0.4.3-rc.3

3 years ago

0.4.2

3 years ago

0.4.1

3 years ago

0.3.2-rc.6

3 years ago

0.4.0

3 years ago

0.3.2-rc.5

3 years ago

0.3.2-rc.4

3 years ago

0.3.2-rc.1

3 years ago

0.3.1

3 years ago

0.3.1-rc.13

3 years ago

0.3.1-rc.11

3 years ago

0.3.1-rc.7

3 years ago

0.3.1-rc.8

3 years ago

0.3.1-rc.4

3 years ago

0.3.1-rc.3

3 years ago

0.3.1-rc.2

3 years ago

0.3.1-rc.1

3 years ago

0.3.0

3 years ago

0.2.2-rc.8

3 years ago

0.2.2-rc.6

3 years ago

0.2.2-rc.3

3 years ago

0.2.1-rc.7

3 years ago

0.2.1-rc.8

3 years ago

0.2.1

3 years ago

0.2.2-rc.2

3 years ago

0.2.1-rc.5

3 years ago

0.2.1-rc.3

3 years ago

0.2.1-rc.1

3 years ago

0.1.1-rc.13

3 years ago

0.1.1-rc.12

3 years ago

0.2.0

3 years ago

0.1.1-rc.10

3 years ago

0.1.1-rc.8

3 years ago

0.1.1-rc.5

3 years ago

0.1.1-rc.6

3 years ago

0.1.1-rc.4

3 years ago

0.0.2-rc.5896

3 years ago

0.1.1-rc.2

3 years ago

0.1.0

3 years ago

0.0.2-rc.5894

3 years ago

0.0.2-rc.5891

3 years ago

0.0.2-rc.5890

3 years ago

0.0.2-rc.5893

3 years ago

0.0.2-rc.5889

3 years ago

0.0.2-rc.5887

3 years ago

0.0.2-rc.5881

3 years ago

0.0.2-rc.5880

3 years ago

0.0.2-rc.5879

3 years ago

0.0.2-rc.5877

3 years ago

0.0.2-rc.5876

3 years ago

0.0.2-rc.5875

3 years ago

0.0.2-rc.5874

3 years ago

0.0.0

4 years ago