ipfs-core

JavaScript implementation of the IPFS specification

js-IPFS has been deprecated in favour of Helia - please see https://github.com/ipfs/js-ipfs/issues/4336 for details
$ npm install ipfs-core 
SYNC missed versions from official npm registry.

⛔️ 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 in JavaScript logo

The JavaScript implementation of the IPFS protocol


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?

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.

Current Tags

  • 0.18.1                                ...           latest (2 years ago)
  • 0.18.0-7b79c1b8                                ...           next (2 years ago)

279 Versions

  • 0.18.1 [deprecated]           ...           2 years ago
  • 0.18.0-7b79c1b8 [deprecated]           ...           2 years ago
  • 0.18.0-6d95ce08 [deprecated]           ...           2 years ago
  • 0.18.0-4694e806 [deprecated]           ...           2 years ago
  • 0.18.0-e64813f6 [deprecated]           ...           2 years ago
  • 0.18.0-b64d4af0 [deprecated]           ...           2 years ago
  • 0.18.0-3bcabe38 [deprecated]           ...           2 years ago
  • 0.18.0-ab02e8f8 [deprecated]           ...           2 years ago
  • 0.18.0-6eeb1be5 [deprecated]           ...           2 years ago
  • 0.18.0 [deprecated]           ...           2 years ago
  • 0.17.0-d1c3abb3 [deprecated]           ...           2 years ago
  • 0.17.0-fa578bac [deprecated]           ...           2 years ago
  • 0.17.0-789ee585 [deprecated]           ...           2 years ago
  • 0.17.0-4b4c124c [deprecated]           ...           2 years ago
  • 0.17.0-5f73ecad [deprecated]           ...           2 years ago
  • 0.0.1-2a6fede5.0 [deprecated]           ...           2 years ago
  • 0.0.1-e85e5b6e.0 [deprecated]           ...           2 years ago
  • 0.0.1-563806f1.0 [deprecated]           ...           2 years ago
  • 0.17.1-6be59068.0 [deprecated]           ...           2 years ago
  • 0.17.1-6ae5eb7d.0 [deprecated]           ...           2 years ago
  • 0.17.1-58e6f468.0 [deprecated]           ...           2 years ago
  • 0.17.1-a77e40cc.0 [deprecated]           ...           2 years ago
  • 0.17.0 [deprecated]           ...           2 years ago
  • 0.16.2-0cee4a4c.0 [deprecated]           ...           2 years ago
  • 0.16.2-dfc43d4e.0 [deprecated]           ...           2 years ago
  • 0.16.2-acbc1c62.0 [deprecated]           ...           2 years ago
  • 0.16.2-d1b0a8a7.0 [deprecated]           ...           2 years ago
  • 0.16.2-d75e0a39.0 [deprecated]           ...           2 years ago
  • 0.16.1 [deprecated]           ...           2 years ago
  • 0.16.1-7304a0f4.0 [deprecated]           ...           2 years ago
  • 0.16.1-2a830bf5.0 [deprecated]           ...           2 years ago
  • 0.16.1-7c676f63.0 [deprecated]           ...           2 years ago
  • 0.16.1-b5456882.0 [deprecated]           ...           2 years ago
  • 0.16.0 [deprecated]           ...           2 years ago
  • 0.15.5-051da161.0 [deprecated]           ...           2 years ago
  • 0.15.5-83f9882e.0 [deprecated]           ...           2 years ago
  • 0.15.5-8f351a89.0 [deprecated]           ...           2 years ago
  • 0.15.5-39dbf708.0 [deprecated]           ...           2 years ago
  • 0.15.5-a05695fc.0 [deprecated]           ...           2 years ago
  • 0.15.4 [deprecated]           ...           3 years ago
  • 0.15.4-00bd3dd0.0 [deprecated]           ...           3 years ago
  • 0.15.3 [deprecated]           ...           3 years ago
  • 0.15.3-7be50bd1.0 [deprecated]           ...           3 years ago
  • 0.15.2 [deprecated]           ...           3 years ago
  • 0.15.2-70e142ac.0 [deprecated]           ...           3 years ago
  • 0.15.1 [deprecated]           ...           3 years ago
  • 0.15.1-87e00a69.0 [deprecated]           ...           3 years ago
  • 0.15.1-be025c89.0 [deprecated]           ...           3 years ago
  • 0.15.1-764b4adc.0 [deprecated]           ...           3 years ago
  • 0.15.1-ddfb899f.0 [deprecated]           ...           3 years ago
  • 0.15.0 [deprecated]           ...           3 years ago
  • 0.14.4-919b27a8.0 [deprecated]           ...           3 years ago
  • 0.14.4-4e93dd5d.0 [deprecated]           ...           3 years ago
  • 0.14.4-7165bf71.0 [deprecated]           ...           3 years ago
  • 0.14.3 [deprecated]           ...           3 years ago
  • 0.14.3-8f7ce23c.0 [deprecated]           ...           3 years ago
  • 0.14.3-e90b8f13.0 [deprecated]           ...           3 years ago
  • 0.14.2 [deprecated]           ...           3 years ago
  • 0.14.2-df1bd1bb.0 [deprecated]           ...           3 years ago
  • 0.14.2-125d42ba.0 [deprecated]           ...           3 years ago
  • 0.14.2-1082fce9.0 [deprecated]           ...           3 years ago
  • 0.14.1 [deprecated]           ...           3 years ago
  • 0.14.1-709831f6.0 [deprecated]           ...           3 years ago
  • 0.14.1-383dc07d.0 [deprecated]           ...           3 years ago
  • 0.14.1-3a74c110.0 [deprecated]           ...           3 years ago
  • 0.14.1-2c8ec080.0 [deprecated]           ...           3 years ago
  • 0.14.1-8d260215.0 [deprecated]           ...           3 years ago
  • 0.14.0 [deprecated]           ...           3 years ago
  • 0.13.1-cca6e321.0 [deprecated]           ...           3 years ago
  • 0.14.1-3a5d61d4.0 [deprecated]           ...           3 years ago
  • 0.14.1-2afef2eb.0 [deprecated]           ...           3 years ago
  • 0.13.1-6cb3a87e.0 [deprecated]           ...           3 years ago
  • 0.13.1-fbe14923.0 [deprecated]           ...           3 years ago
  • 0.13.1-a6b201af.0 [deprecated]           ...           3 years ago
  • 0.13.1-5439a0e.0 [deprecated]           ...           3 years ago
  • 0.13.1-7fe0da57f.0 [deprecated]           ...           3 years ago
  • 0.13.1-rc.5 [deprecated]           ...           3 years ago
  • 0.13.1-rc.4 [deprecated]           ...           3 years ago
  • 0.13.1-rc.3 [deprecated]           ...           3 years ago
  • 0.13.1-rc.2 [deprecated]           ...           3 years ago
  • 0.13.1-rc.1 [deprecated]           ...           3 years ago
  • 0.13.1-rc.0 [deprecated]           ...           3 years ago
  • 0.13.0 [deprecated]           ...           3 years ago
  • 0.12.3-rc.13 [deprecated]           ...           3 years ago
  • 0.12.3-rc.12 [deprecated]           ...           3 years ago
  • 0.12.3-rc.10 [deprecated]           ...           3 years ago
  • 0.12.3-rc.11 [deprecated]           ...           3 years ago
  • 0.12.3-rc.9 [deprecated]           ...           3 years ago
  • 0.12.3-rc.8 [deprecated]           ...           3 years ago
  • 0.12.3-rc.7 [deprecated]           ...           3 years ago
  • 0.12.3-rc.6 [deprecated]           ...           3 years ago
  • 0.12.3-rc.5 [deprecated]           ...           3 years ago
  • 0.12.3-rc.4 [deprecated]           ...           3 years ago
  • 0.12.3-rc.3 [deprecated]           ...           3 years ago
  • 0.12.3-rc.2 [deprecated]           ...           3 years ago
  • 0.12.3-rc.1 [deprecated]           ...           3 years ago
  • 0.12.2 [deprecated]           ...           3 years ago
  • 0.12.3-rc.0 [deprecated]           ...           3 years ago
  • 0.12.2-rc.3 [deprecated]           ...           3 years ago
  • 0.12.2-rc.2 [deprecated]           ...           3 years ago
  • 0.12.2-rc.1 [deprecated]           ...           3 years ago
  • 0.12.1 [deprecated]           ...           3 years ago
  • 0.12.2-rc.0 [deprecated]           ...           3 years ago
  • 0.12.1-rc.1 [deprecated]           ...           3 years ago
  • 0.12.1-rc.0 [deprecated]           ...           3 years ago
  • 0.12.0 [deprecated]           ...           3 years ago
  • 0.11.2-rc.6 [deprecated]           ...           3 years ago
  • 0.11.2-rc.5 [deprecated]           ...           3 years ago
  • 0.11.2-rc.4 [deprecated]           ...           3 years ago
  • 0.11.2-rc.3 [deprecated]           ...           3 years ago
  • 0.11.2-rc.2 [deprecated]           ...           3 years ago
  • 0.11.2-rc.1 [deprecated]           ...           3 years ago
  • 0.11.2-rc.0 [deprecated]           ...           3 years ago
  • 0.11.1 [deprecated]           ...           3 years ago
  • 0.11.1-rc.5 [deprecated]           ...           3 years ago
  • 0.11.1-rc.3 [deprecated]           ...           3 years ago
  • 0.11.1-rc.2 [deprecated]           ...           3 years ago
  • 0.11.1-rc.1 [deprecated]           ...           3 years ago
  • 0.11.1-rc.0 [deprecated]           ...           3 years ago
  • 0.11.0 [deprecated]           ...           3 years ago
  • 0.10.9-rc.18 [deprecated]           ...           3 years ago
  • 0.10.9-rc.17 [deprecated]           ...           3 years ago
  • 0.10.9-rc.16 [deprecated]           ...           3 years ago
  • 0.10.9-rc.15 [deprecated]           ...           3 years ago
  • 0.10.9-rc.14 [deprecated]           ...           3 years ago
  • 0.10.9-rc.12 [deprecated]           ...           3 years ago
  • 0.10.9-rc.1 [deprecated]           ...           3 years ago
  • 0.10.8 [deprecated]           ...           3 years ago
  • 0.10.9-rc.0 [deprecated]           ...           3 years ago
  • 0.10.8-rc.0 [deprecated]           ...           3 years ago
  • 0.10.7 [deprecated]           ...           3 years ago
  • 0.10.7-rc.4 [deprecated]           ...           3 years ago
  • 0.10.7-rc.1 [deprecated]           ...           3 years ago
  • 0.10.6 [deprecated]           ...           3 years ago
  • 0.10.6-rc.5 [deprecated]           ...           3 years ago
  • 0.10.6-rc.4 [deprecated]           ...           3 years ago
  • 0.10.6-rc.2 [deprecated]           ...           3 years ago
  • 0.10.6-rc.1 [deprecated]           ...           3 years ago
  • 0.10.5 [deprecated]           ...           3 years ago
  • 0.10.5-rc.8 [deprecated]           ...           3 years ago
  • 0.10.5-rc.7 [deprecated]           ...           3 years ago
  • 0.10.5-rc.6 [deprecated]           ...           3 years ago
  • 0.10.5-rc.5 [deprecated]           ...           3 years ago
  • 0.10.5-rc.4 [deprecated]           ...           3 years ago
  • 0.10.5-rc.3 [deprecated]           ...           3 years ago
  • 0.10.5-rc.2 [deprecated]           ...           3 years ago
  • 0.10.4 [deprecated]           ...           3 years ago
  • 0.10.4-rc.4 [deprecated]           ...           3 years ago
  • 0.10.4-rc.3 [deprecated]           ...           3 years ago
  • 0.10.4-rc.1 [deprecated]           ...           3 years ago
  • 0.10.3 [deprecated]           ...           3 years ago
  • 0.10.2 [deprecated]           ...           3 years ago
  • 0.9.2 [deprecated]           ...           3 years ago
  • 0.10.2-rc.1 [deprecated]           ...           3 years ago
  • 0.10.1-rc.10 [deprecated]           ...           3 years ago
  • 0.10.1-rc.9 [deprecated]           ...           3 years ago
  • 0.10.1 [deprecated]           ...           3 years ago
  • 0.10.1-rc.7 [deprecated]           ...           3 years ago
  • 0.10.1-rc.6 [deprecated]           ...           3 years ago
  • 0.10.1-rc.5 [deprecated]           ...           3 years ago
  • 0.10.1-rc.4 [deprecated]           ...           3 years ago
  • 0.10.0 [deprecated]           ...           3 years ago
  • 0.9.2-rc.11 [deprecated]           ...           3 years ago
  • 0.9.2-rc.10 [deprecated]           ...           3 years ago
  • 0.9.2-rc.8 [deprecated]           ...           3 years ago
  • 0.9.2-rc.6 [deprecated]           ...           3 years ago
  • 0.9.2-rc.3 [deprecated]           ...           3 years ago
  • 0.9.2-rc.2 [deprecated]           ...           3 years ago
  • 0.9.2-rc.1 [deprecated]           ...           3 years ago
  • 0.9.1-rc.7 [deprecated]           ...           3 years ago
  • 0.9.1 [deprecated]           ...           3 years ago
  • 0.9.1-rc.5 [deprecated]           ...           3 years ago
  • 0.9.1-rc.2 [deprecated]           ...           3 years ago
  • 0.9.1-rc.1 [deprecated]           ...           3 years ago
  • 0.9.0 [deprecated]           ...           3 years ago
  • 0.8.1-rc.17 [deprecated]           ...           3 years ago
  • 0.8.1-rc.14 [deprecated]           ...           3 years ago
  • 0.8.1-rc.11 [deprecated]           ...           3 years ago
  • 0.8.1-rc.9 [deprecated]           ...           3 years ago
  • 0.8.1-rc.8 [deprecated]           ...           3 years ago
  • 0.8.1-rc.6 [deprecated]           ...           3 years ago
  • 0.8.1-rc.3 [deprecated]           ...           3 years ago
  • 0.8.1-rc.2 [deprecated]           ...           3 years ago
  • 0.8.1-rc.1 [deprecated]           ...           4 years ago
  • 0.8.0 [deprecated]           ...           4 years ago
  • 0.7.2-rc.4 [deprecated]           ...           4 years ago
  • 0.7.2-rc.3 [deprecated]           ...           4 years ago
  • 0.7.2-rc.2 [deprecated]           ...           4 years ago
  • 0.7.2-rc.1 [deprecated]           ...           4 years ago
  • 0.7.1 [deprecated]           ...           4 years ago
  • 0.7.1-rc.4 [deprecated]           ...           4 years ago
  • 0.7.1-rc.3 [deprecated]           ...           4 years ago
  • 0.7.1-rc.1 [deprecated]           ...           4 years ago
  • 0.7.0 [deprecated]           ...           4 years ago
  • 0.6.2-rc.7 [deprecated]           ...           4 years ago
  • 0.6.2-rc.3 [deprecated]           ...           4 years ago
  • 0.6.2-rc.2 [deprecated]           ...           4 years ago
  • 0.6.2-rc.1 [deprecated]           ...           4 years ago
  • 0.6.1 [deprecated]           ...           4 years ago
  • 0.6.1-rc.1 [deprecated]           ...           4 years ago
  • 0.6.0 [deprecated]           ...           4 years ago
  • 0.5.5-rc.32 [deprecated]           ...           4 years ago
  • 0.5.5-rc.31 [deprecated]           ...           4 years ago
  • 0.5.5-rc.30 [deprecated]           ...           4 years ago
  • 0.5.5-rc.29 [deprecated]           ...           4 years ago
  • 0.5.5-rc.28 [deprecated]           ...           4 years ago
  • 0.5.5-rc.27 [deprecated]           ...           4 years ago
  • 0.5.5-rc.26 [deprecated]           ...           4 years ago
  • 0.5.5-rc.25 [deprecated]           ...           4 years ago
  • 0.5.5-rc.24 [deprecated]           ...           4 years ago
  • 0.5.5-rc.22 [deprecated]           ...           4 years ago
  • 0.5.5-rc.21 [deprecated]           ...           4 years ago
  • 0.5.5-rc.20 [deprecated]           ...           4 years ago
  • 0.5.5-rc.19 [deprecated]           ...           4 years ago
  • 0.5.5-rc.18 [deprecated]           ...           4 years ago
  • 0.5.5-rc.17 [deprecated]           ...           4 years ago
  • 0.5.5-rc.14 [deprecated]           ...           4 years ago
  • 0.5.5-rc.11 [deprecated]           ...           4 years ago
  • 0.5.5-rc.3 [deprecated]           ...           4 years ago
  • 0.5.4 [deprecated]           ...           4 years ago
  • 0.5.3 [deprecated]           ...           4 years ago
  • 0.5.3-rc.5 [deprecated]           ...           4 years ago
  • 0.5.3-rc.4 [deprecated]           ...           4 years ago
  • 0.5.2 [deprecated]           ...           4 years ago
  • 0.5.1 [deprecated]           ...           4 years ago
  • 0.5.0 [deprecated]           ...           4 years ago
  • 0.4.3-rc.3 [deprecated]           ...           4 years ago
  • 0.4.2 [deprecated]           ...           4 years ago
  • 0.4.1 [deprecated]           ...           4 years ago
  • 0.4.0 [deprecated]           ...           4 years ago
  • 0.3.2-rc.6 [deprecated]           ...           4 years ago
  • 0.3.2-rc.5 [deprecated]           ...           4 years ago
  • 0.3.2-rc.4 [deprecated]           ...           4 years ago
  • 0.3.2-rc.1 [deprecated]           ...           4 years ago
  • 0.3.1 [deprecated]           ...           4 years ago
  • 0.3.1-rc.13 [deprecated]           ...           4 years ago
  • 0.3.1-rc.11 [deprecated]           ...           4 years ago
  • 0.3.1-rc.8 [deprecated]           ...           4 years ago
  • 0.3.1-rc.7 [deprecated]           ...           4 years ago
  • 0.3.1-rc.4 [deprecated]           ...           4 years ago
  • 0.3.1-rc.3 [deprecated]           ...           4 years ago
  • 0.3.1-rc.2 [deprecated]           ...           4 years ago
  • 0.3.1-rc.1 [deprecated]           ...           4 years ago
  • 0.3.0 [deprecated]           ...           4 years ago
  • 0.2.2-rc.8 [deprecated]           ...           4 years ago
  • 0.2.2-rc.6 [deprecated]           ...           4 years ago
  • 0.2.2-rc.3 [deprecated]           ...           4 years ago
  • 0.2.2-rc.2 [deprecated]           ...           4 years ago
  • 0.2.1 [deprecated]           ...           4 years ago
  • 0.2.1-rc.8 [deprecated]           ...           4 years ago
  • 0.2.1-rc.7 [deprecated]           ...           4 years ago
  • 0.2.1-rc.5 [deprecated]           ...           4 years ago
  • 0.2.1-rc.3 [deprecated]           ...           4 years ago
  • 0.2.1-rc.1 [deprecated]           ...           4 years ago
  • 0.2.0 [deprecated]           ...           4 years ago
  • 0.1.1-rc.13 [deprecated]           ...           4 years ago
  • 0.1.1-rc.12 [deprecated]           ...           4 years ago
  • 0.1.1-rc.10 [deprecated]           ...           4 years ago
  • 0.1.1-rc.8 [deprecated]           ...           4 years ago
  • 0.1.1-rc.6 [deprecated]           ...           4 years ago
  • 0.1.1-rc.5 [deprecated]           ...           4 years ago
  • 0.1.1-rc.4 [deprecated]           ...           4 years ago
  • 0.1.1-rc.2 [deprecated]           ...           4 years ago
  • 0.1.0 [deprecated]           ...           4 years ago
  • 0.0.2-rc.5896 [deprecated]           ...           4 years ago
  • 0.0.2-rc.5894 [deprecated]           ...           4 years ago
  • 0.0.2-rc.5893 [deprecated]           ...           4 years ago
  • 0.0.2-rc.5891 [deprecated]           ...           4 years ago
  • 0.0.2-rc.5890 [deprecated]           ...           4 years ago
  • 0.0.2-rc.5889 [deprecated]           ...           4 years ago
  • 0.0.2-rc.5887 [deprecated]           ...           4 years ago
  • 0.0.2-rc.5881 [deprecated]           ...           4 years ago
  • 0.0.2-rc.5880 [deprecated]           ...           4 years ago
  • 0.0.2-rc.5879 [deprecated]           ...           4 years ago
  • 0.0.2-rc.5877 [deprecated]           ...           4 years ago
  • 0.0.2-rc.5876 [deprecated]           ...           4 years ago
  • 0.0.2-rc.5875 [deprecated]           ...           4 years ago
  • 0.0.2-rc.5874 [deprecated]           ...           4 years ago
  • 0.0.0 [deprecated]           ...           5 years ago
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (72)
Dev Dependencies (17)
Dependents (2)

© 2010 - cnpmjs.org x YWFE | Home | YWFE