{"bugs":{"url":"https://github.com/ipfs/js-ipfs/issues"},"dist":{"shasum":"aff85251b5b385af459e6a8d5dce9edb9ed73577","tarball":"https://registry.npmjs.org/ipfs-core/-/ipfs-core-0.9.2-rc.2.tgz","fileCount":464,"integrity":"sha512-7I5FIr2+499X/VSPk16rbQsBEFEKZoG8yNkULIGmjV/AJ/D4XTiNBtz6UZqwPPzvmUkr8AzHDTt1S5BfVd0x+g==","signatures":[{"sig":"MEUCID2VoWLTnrYo3PKD6eUQElMwsRxV2YWIau8Onq/UnaTEAiEAwksHAaTMejbzyRiLDRHRYEizXKq1+hVNmuhCxrBxNM4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2192456,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhCpu/CRA9TVsSAnZWagAALbwP/0bAQUN4m5JlVXg4ieBq\nY0RxrY+1JseNmActHddVMp3eAcUrbJn0cBWi4s4W+aH782XpI8z2iJi38iS/\nEOfp8GQgOHW6VuGa+yuUzb0H8kaTbzaxqMd0j9jfkR3dyL8MBLY/9AXq4OrH\nxATD+ZUQn72e2IJtWTmIaOzqsW/5oXTq9Ve9yg4HPG4c8452jj8Ht1rudwvs\n735NEQn0n0ycYIz7MbFRy7X+cw97gdLX8yolrBlxRQPxSy/Zsf1mhAwjdocT\n9LcyW/bckCDUwrA6vDPgR940zWiflrCS3v9TAHmapmk4iO7msbBrgt4rviPR\n8zNR90Bbnc8j7SneJBbZL2Jx7+88P6mnBqR4/rjVidWn07z/z7Dbfo+KH8Fc\nQl/hj0LD/Qsue4182hAxaCGzo3L0JfqHGoaOjSWdDWoRBbMG26DeMQO0pGyN\n5CBx1NAIJ0vQpn614trOcZQDzcdd7nHTtBNzxHbbIFbko2arutG/ZNUPpNXL\nCknLSAzaB1H4cZbW69POS5Alb7DpL575VP6Y8dMXnpySZb37fnWz9I+a9+DX\nR6PNIkaNIiqJvS0aKsyKAYKdqDeiYpPlfRSWKSsouGXtVi+uMhLhHUT3vOKT\nb2CwEsCQKFHPzfwjvhwy16WnLxXX3YEl32FBVroQEx5KUXd8NCzSVZdiiuiM\nSkdZ\r\n=Ate+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","name":"ipfs-core","types":"dist/src/index.d.ts","readme":"<p align=\"center\">\n<a href=\"https://js.ipfs.io\" title=\"JS IPFS\">\n  <img src=\"https://ipfs.io/ipfs/Qme6KJdKcp85TYbLxuLV7oQzMiLremD7HMoXLZEmgo6Rnh/js-ipfs-sticker.png\" alt=\"IPFS in JavaScript logo\" width=\"244\" />\n</a>\n</p>\n\n<h3 align=\"center\">The JavaScript implementation of the IPFS protocol</h3>\n\n<p align=\"center\">\n<a href=\"https://riot.im/app/#/room/#ipfs-dev:matrix.org\"><img src=\"https://img.shields.io/badge/matrix-%23ipfs%3Amatrix.org-blue.svg?style=flat\" /> </a>\n<a href=\"http://webchat.freenode.net/?channels=%23ipfs\"><img src=\"https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat\" /></a>\n<a href=\"https://discord.gg/24fmuwR\"><img src=\"https://img.shields.io/discord/475789330380488707?color=blueviolet&label=discord&style=flat\" /></a>\n<a href=\"https://github.com/ipfs/team-mgmt/blob/master/MGMT_JS_CORE_DEV.md\"><img src=\"https://img.shields.io/badge/team-mgmt-blue.svg?style=flat\" /></a>\n</p>\n\n<p align=\"center\">\n<a href=\"https://github.com/ipfs/js-ipfs/tree/master/packages/interface-ipfs-core\"><img src=\"https://img.shields.io/badge/interface--ipfs--core-API%20Docs-blue.svg\"></a>\n<a href=\"https://travis-ci.com/ipfs/js-ipfs?branch=master\"><img src=\"https://badgen.net/travis/ipfs/js-ipfs?branch=master\" /></a>\n<a href=\"https://codecov.io/gh/ipfs/js-ipfs\"><img src=\"https://badgen.net/codecov/c/github/ipfs/js-ipfs\" /></a>\n<a href=\"https://bundlephobia.com/result?p=ipfs\"><img src=\"https://badgen.net/bundlephobia/minzip/ipfs\"></a>\n<a href=\"https://david-dm.org/ipfs/js-ipfs?path=packages/ipfs\"><img src=\"https://david-dm.org/ipfs/js-ipfs.svg?style=flat&path=packages/ipfs\" /></a>\n<a href=\"https://github.com/feross/standard\"><img src=\"https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat\"></a>\n<a href=\"\"><img src=\"https://img.shields.io/badge/npm-%3E%3D6.0.0-orange.svg?style=flat\" /></a>\n<a href=\"\"><img src=\"https://img.shields.io/badge/Node.js-%3E%3D10.0.0-orange.svg?style=flat\" /></a>\n<a href=\"https://www.npmjs.com/package/ipfs\"><img src=\"https://img.shields.io/npm/dm/ipfs.svg\" /></a>\n<a href=\"https://www.jsdelivr.com/package/npm/ipfs\"><img src=\"https://data.jsdelivr.com/v1/package/npm/ipfs/badge\"/></a>\n<br>\n</p>\n\n# ipfs-core <!-- omit in toc -->\n\n> The IPFS Core API\n\n`ipfs-core` is the implementation of the IPFS Core API. It contains all you need to integrate IPFS into your application.\n\nIf you want to run IPFS as a standalone daemon process, see the [ipfs](https://github.com/ipfs/js-ipfs/tree/master/packages/ipfs) module.\n\n## Lead Maintainer <!-- omit in toc -->\n\n[Alex Potsides](http://github.com/achingbrain)\n\n## Table of Contents <!-- omit in toc -->\n\n- [Getting Started](#getting-started)\n- [Next Steps](#next-steps)\n  - [Browser CDN](#browser-cdn)\n  - [Browser bundle](#browser-bundle)\n- [Want to hack on IPFS?](#want-to-hack-on-ipfs)\n- [License](#license)\n\n## Getting Started\n\nThe `ipfs-core` package contains all the features of `ipfs` but in a lighter package without the CLI or HTTP servers:\n\n```console\n$ npm install ipfs-core\n```\n\nThen start a node in your app:\n\n```javascript\nconst IPFS = require('ipfs-core')\n\nconst ipfs = await IPFS.create()\nconst { cid } = await ipfs.add('Hello world')\nconsole.info(cid)\n// QmXXY5ZxbtuYj6DnfApLiGstzPN7fvSyigrRee3hDWPCaf\n```\n\n## Next Steps\n\n* Look into the [examples](/examples) to learn how to spawn an IPFS node in Node.js and in the Browser\n* Read the [Core API docs](https://github.com/ipfs/js-ipfs/tree/master/docs/core-api) to see what you can do with an IPFS node\n* Visit https://dweb-primer.ipfs.io to learn about IPFS and the concepts that underpin it\n* Head over to https://proto.school to take interactive tutorials that cover core IPFS APIs\n* Check out https://docs.ipfs.io for tips, how-tos and more\n* See https://blog.ipfs.io for news and more\n* Need help? Please ask 'How do I?' questions on https://discuss.ipfs.io\n\n### Browser CDN\n\nYou can load IPFS right in your browser by adding the following to your page using the super fast [jsdelivr](https://www.jsdelivr.com) CDN:\n\n```html\n<!-- loading the minified version using jsDelivr -->\n<script src=\"https://cdn.jsdelivr.net/npm/ipfs-core/dist/index.min.js\"></script>\n\n<!-- loading the human-readable (not minified) version jsDelivr -->\n<script src=\"https://cdn.jsdelivr.net/npm/ipfs-core/dist/index.min.js\"></script>\n```\n\nInserting one of the above lines will make an `IpfsCore` object available in the global namespace:\n\n```html\n<script>\nasync function main () {\nconst node = await window.IpfsCore.create()\n// Ready to use!\n// See https://github.com/ipfs/js-ipfs#core-api\n}\nmain()\n</script>\n```\n\n### Browser bundle\n\nLearn how to bundle IPFS into your application with webpack, parceljs and browserify in the [examples](https://github.com/ipfs/js-ipfs/tree/master/examples).\n\n## Want to hack on IPFS?\n\n[![](https://cdn.rawgit.com/jbenet/contribute-ipfs-gif/master/img/contribute.gif)](https://github.com/ipfs/community/blob/master/CONTRIBUTING.md)\n\nThe IPFS implementation in JavaScript needs your help!  There are a few things you can do right now to help out:\n\nRead the [Code of Conduct](https://github.com/ipfs/community/blob/master/code-of-conduct.md) and [JavaScript Contributing Guidelines](https://github.com/ipfs/community/blob/master/CONTRIBUTING_JS.md).\n\n- **Check out existing issues** The [issue list](https://github.com/ipfs/js-ipfs/issues) has many that are marked as ['help wanted'](https://github.com/ipfs/js-ipfs/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3A%22help+wanted%22) or ['difficulty:easy'](https://github.com/ipfs/js-ipfs/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3Adifficulty%3Aeasy) which make great starting points for development, many of which can be tackled with no prior IPFS knowledge\n- **Look at the [IPFS Roadmap](https://github.com/ipfs/roadmap)** This are the high priority items being worked on right now\n- **Perform code reviews** More eyes will help\na. speed the project along\nb. ensure quality, and\nc. reduce possible future bugs.\n- **Add tests**. There can never be enough tests.\n- **Join the [Weekly Core Implementations Call](https://github.com/ipfs/team-mgmt/issues/992)** it's where everyone discusses what's going on with IPFS and what's next\n\n## License\n\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fipfs%2Fjs-ipfs.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fipfs%2Fjs-ipfs?ref=badge_large)\n\n[![](https://github.com/ipfs/js-ipfs/raw/master/packages/interface-ipfs-core/img/badge.png)](https://github.com/ipfs/js-ipfs/tree/master/packages/interface-ipfs-core)\n","browser":{"./src/runtime/dns-nodejs.js":"./src/runtime/dns-browser.js","./src/runtime/repo-nodejs.js":"./src/runtime/repo-browser.js","./src/runtime/config-nodejs.js":"./src/runtime/config-browser.js","./src/runtime/libp2p-nodejs.js":"./src/runtime/libp2p-browser.js","./src/runtime/preload-nodejs.js":"./src/runtime/preload-browser.js","ipfs-utils/src/files/glob-source":false,"./src/runtime/init-assets-nodejs.js":"./src/runtime/init-assets-browser.js","./src/runtime/libp2p-pubsub-routers-nodejs.js":"./src/runtime/libp2p-pubsub-routers-browser.js"},"gitHead":"1db6b88afc5647d3a187e0ca4199d8ab2082c629","license":"(Apache-2.0 OR MIT)","scripts":{"lint":"aegir lint","test":"aegir test","build":"aegir build","clean":"rimraf ./dist","coverage":"nyc --reporter=text --reporter=lcov npm run test:node","dep-check":"aegir dep-check -i interface-ipfs-core -i ipfs-core-types -i abort-controller","test:node":"aegir test -t node","test:browser":"aegir test -t browser","test:webworker":"aegir test -t webworker","test:bootstrapers":"IPFS_TEST=bootstrapers aegir test -t browser -f test/bootstrapers.js","test:electron-main":"aegir test -t electron-main","test:electron-renderer":"aegir test -t electron-renderer"},"_npmUser":{"name":"ipfs-npm-publisher-bot","email":"alex.potsides+ipfs-npm-publisher-bot@protocol.ai"},"homepage":"https://github.com/ipfs/js-ipfs/tree/master/packages/ipfs-core#readme","keywords":["IPFS"],"deprecated":"js-IPFS has been deprecated in favour of Helia - please see https://github.com/ipfs/js-ipfs/issues/4336 for details","repository":{"url":"git+https://github.com/ipfs/js-ipfs.git","type":"git"},"_npmVersion":"lerna/3.22.1/node@v14.17.4+x64 (linux)","description":"JavaScript implementation of the IPFS specification","directories":{},"maintainers":[{"name":"achingbrain","email":"alex@achingbrain.net"},{"name":"ipfs-npm-publisher-bot","email":"alex.potsides+ipfs-npm-publisher-bot@protocol.ai"}],"_nodeVersion":"14.17.4","dependencies":{"dlv":"^1.1.3","ipns":"^0.13.2","debug":"^4.1.1","mafmt":"^10.0.0","it-all":"^1.0.4","it-map":"^1.0.4","libp2p":"^0.32.0","hashlru":"^2.3.0","is-ipfs":"^6.0.1","it-last":"^1.0.4","it-pipe":"^1.1.0","mortice":"^2.0.0","p-queue":"^6.6.1","peer-id":"^0.15.1","err-code":"^3.0.1","it-drain":"^1.0.3","it-first":"^1.0.4","it-merge":"^1.0.2","@ipld/car":"^3.1.0","ipfs-repo":"^11.0.1","multiaddr":"^10.0.0","ipfs-utils":"^8.1.4","libp2p-tcp":"^0.17.1","ipfs-unixfs":"^5.0.0","it-peekable":"^1.0.2","it-pushable":"^1.4.2","libp2p-mdns":"^0.17.0","uint8arrays":"^2.1.6","@ipld/dag-pb":"^2.1.3","datastore-fs":"^5.0.2","ipfs-bitswap":"^6.0.0","libp2p-mplex":"^0.10.2","libp2p-noise":"^4.0.0","multiformats":"^9.4.1","array-shuffle":"^2.0.0","hamt-sharding":"^2.0.0","just-safe-set":"^2.2.1","libp2p-crypto":"^0.19.6","libp2p-record":"^0.10.3","merge-options":"^3.0.4","@ipld/dag-cbor":"^6.0.5","datastore-core":"^5.0.1","is-domain-name":"^1.0.1","libp2p-kad-dht":"^0.23.1","parse-duration":"^1.0.0","datastore-level":"^6.0.2","ipfs-core-types":"^0.6.2-rc.2+1db6b88a","ipfs-core-utils":"^0.9.2-rc.2+1db6b88a","libp2p-floodsub":"^0.27.0","abort-controller":"^3.0.0","datastore-pubsub":"^0.7.0","ipfs-http-client":"^51.0.2-rc.2+1db6b88a","libp2p-bootstrap":"^0.13.0","libp2p-gossipsub":"^0.11.0","multiaddr-to-uri":"^8.0.0","libp2p-websockets":"^0.16.1","libp2p-webrtc-star":"^0.23.0","interface-datastore":"^5.0.0","streaming-iterables":"^6.0.0","interface-blockstore":"^1.0.0","ipfs-unixfs-exporter":"^6.0.0","ipfs-unixfs-importer":"^8.0.0","native-abort-controller":"^1.0.3","blockstore-datastore-adapter":"1.0.0","libp2p-delegated-peer-routing":"^0.10.0","libp2p-delegated-content-routing":"^0.11.0"},"typesVersions":{"*":{"src/":["dist/src/index"],"src/*":["dist/src/*","dist/src/*/index"]}},"_hasShrinkwrap":false,"leadMaintainer":"Alex Potsides <alex@achingbrain.net>","readmeFilename":"README.md","devDependencies":{"aegir":"^34.0.2","delay":"^5.0.0","sinon":"^11.1.1","nanoid":"^3.1.12","rimraf":"^3.0.2","go-ipfs":"0.8.0","iso-url":"^1.0.0","p-defer":"^3.0.0","ipfsd-ctl":"^9.0.0","@types/dlv":"^1.1.2","interface-ipfs-core":"^0.148.1-rc.11+1db6b88a","interface-blockstore-tests":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ipfs-core_0.9.2-rc.2_1628085183115_0.6552287578615894","host":"s3://npm-registry-packages"},"_id":"ipfs-core@0.9.2-rc.2","version":"0.9.2-rc.2"}