{"name":"libp2p-ipfs-nodejs","version":"0.17.1","description":"The libp2p build (module) used by js-ipfs on Node.js","main":"src/index.js","scripts":{"test":"aegir-test node","lint":"aegir-lint","release":"aegir-release node","release-minor":"aegir-release node --type minor","release-major":"aegir-release node --type major","coverage":"aegir-coverage","coverage-publish":"aegir-coverage publish"},"repository":{"type":"git","url":"git+https://github.com/ipfs/js-libp2p-ipfs-nodejs.git"},"pre-commit":["lint","test"],"keywords":["IPFS"],"author":{"name":"David Dias","email":"daviddias@ipfs.io"},"license":"MIT","bugs":{"url":"https://github.com/ipfs/js-libp2p-ipfs-nodejs/issues"},"engines":{"node":">=4.0.0","npm":">=3.0.0"},"homepage":"https://github.com/ipfs/js-libp2p-ipfs-nodejs#readme","devDependencies":{"aegir":"^9.3.0","async":"^2.1.4","chai":"^3.5.0","pre-commit":"^1.2.2","pull-stream":"^3.5.0"},"dependencies":{"libp2p":"^0.3.1","libp2p-mdns":"^0.5.0","libp2p-secio":"^0.6.4","libp2p-spdy":"^0.10.1","libp2p-swarm":"^0.26.5","libp2p-tcp":"^0.9.1","libp2p-webrtc-star":"^0.7.0","libp2p-websockets":"^0.9.1","mafmt":"^2.1.2","multiaddr":"^2.1.1","peer-book":"^0.3.0","peer-id":"^0.8.1","peer-info":"^0.8.1"},"contributors":[{"name":"David Dias","email":"daviddias.p@gmail.com"},{"name":"Friedel Ziegelmayer","email":"dignifiedquire@gmail.com"},{"name":"JGAntunes","email":"j.goncalo.antunes@gmail.com"},{"name":"Prashanth Chandra","email":"coolshanth94@gmail.com"},{"name":"Richard Littauer","email":"richard.littauer@gmail.com"},{"name":"Stephen Whitmore","email":"stephen.whitmore@gmail.com"},{"name":"greenkeeperio-bot","email":"support@greenkeeper.io"},{"name":"varunagarwal315","email":"varunagarwal315@gmail.com"}],"gitHead":"398136ea11b55795a0118f646a70c82f5f71d091","_id":"libp2p-ipfs-nodejs@0.17.1","_shasum":"acacd22415c267cbae217e423de1d4943b71f3ef","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"daviddias","email":"daviddias.p@gmail.com"},"maintainers":[{"name":"daviddias","email":"daviddias.p@gmail.com"}],"dist":{"shasum":"acacd22415c267cbae217e423de1d4943b71f3ef","tarball":"http://registry-npm.ywwl.com/libp2p-ipfs-nodejs/download/libp2p-ipfs-nodejs-0.17.1.tgz","integrity":"sha512-YwcAdko1MhPAXdF2g5Ju+62eBDo8c3rbOScke7WiLOvSmEvvZpMKgYzXz0sOUF2vZa99dA6U8qEomc0EP7lO2w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCWjCy0csuPxtnsa0r18afywNPnnFLguTCT+OPiSPjrEgIhALMEC4+FsTgN42UFal6xIGVelq8ROsLOQhgCR+es8MV5"}],"size":206688,"noattachment":false,"key":"/libp2p-ipfs-nodejs/-/libp2p-ipfs-nodejs-0.17.1.tgz"},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/libp2p-ipfs-nodejs-0.17.1.tgz_1482115942143_0.6702932277694345"},"directories":{},"readme":"libp2p-ipfs-nodejs\n==================\n\n--------------------------------------------------------------------------------------------------------------------------\n--------------------------------------------------------------------------------------------------------------------------\n\n# Deprecation Notice\n\nThis module has been deprecated in favour of:\n\n- Consolidating examples for libp2p on js-libp2p\n- Avoid duplication of code\n- Reducing overhead in maintainece. Now the bundles live in js-ipfs itself, see - https://github.com/ipfs/js-ipfs/tree/master/src/core/runtime\n- Now all of the tests live in https://github.com/libp2p/js-libp2p/tree/master/test\n\n--------------------------------------------------------------------------------------------------------------------------\n--------------------------------------------------------------------------------------------------------------------------\n\n\n\n![](https://github.com/libp2p/js-libp2p/raw/1e3e9db84d1e5fdd5682cc5e0fdaabfcd07ad55a/img/js-libp2p-ipfs.png?raw=true)\n\n[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://ipn.io)\n[![](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](http://ipfs.io/)\n[![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs)\n[![Build Status](https://travis-ci.org/ipfs/js-libp2p-ipfs-nodejs.svg?style=flat-square)](https://travis-ci.org/ipfs/js-libp2p-ipfs-nodejs)\n[![Coverage Status](https://coveralls.io/repos/github/ipfs/js-libp2p-ipfs-nodejs/badge.svg?branch=master)](https://coveralls.io/github/ipfs/js-libp2p-ipfs-nodejs?branch=master)\n[![Dependency Status](https://david-dm.org/ipfs/js-libp2p-ipfs-nodejs.svg?style=flat-square)](https://david-dm.org/ipfs/js-libp2p-ipfs-nodejs)\n[![js-standard](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/feross/standard)\n[![standard-readme](https://img.shields.io/badge/standard--readme-OK-green.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)\n![](https://img.shields.io/badge/npm-%3E%3D3.0.0-orange.svg?style=flat-square)\n![](https://img.shields.io/badge/Node.js-%3E%3D4.0.0-orange.svg?style=flat-square)\n\n> libp2p bundle (module) used in js-ipfs when run in Node.js. If you are looking for the browser version, see [libp2p-ipfs-browser](https://github.com/ipfs/js-libp2p-ipfs-browser)\n\nThis libp2p build has support for:\n\n- TCP and WebSockets\n- SPDY and mplex stream multiplexing\n- secio encrypted channels\n- Identify STUN protocol\n\n## Table of Contents\n\n- [Install](#install)\n  - [npm](#npm)\n  - [Use in Node.js](#use-in-nodejs)\n- [Usage](#usage)\n- [API](#api)\n- [Examples](#examples)\n- [Contribute](#contribute)\n- [License](#license)\n\n## Install\n\n### npm\n\n```sh\n> npm i libp2p-ipfs-nodejs\n```\n\n### Use in Node.js\n\n```js\nconst Node = require('libp2p-ipfs-nodejs')\n```\n\n## Usage\n\n### Create a libp2p-ipfs-nodejs node\n\n```js\nconst PeerInfo = require('peer-info')\nconst Node = require('libp2p-ipfs-nodejs')\nPeerInfo.create((err, pi) => {\n  if (err) {\n    throw err // handle the err\n  }\n\n  pi.multiaddr.add('/ip4/0.0.0.0/tcp/0')\n\n  const node = new Node(pi)\n  node.start((err) => {\n    if (err) {\n      throw err // handle the err\n    }\n    console.log('Node is ready o/')\n  })\n})\n```\n\n## API\n\nAPI docs can be found at https://github.com/libp2p/js-libp2p#usage\n\n## Contribute\n\nFeel free to join in. All welcome. Open an [issue](https://github.com/ipfs/js-libp2p-ipfs/issues)!\n\nThis repository falls under the IPFS [Code of Conduct](https://github.com/ipfs/community/blob/master/code-of-conduct.md).\n\n[![](https://cdn.rawgit.com/jbenet/contribute-ipfs-gif/master/img/contribute.gif)](https://github.com/ipfs/community/blob/master/contributing.md)\n\n## License\n\n[MIT](LICENSE)\n","publish_time":1482115942684,"_cnpm_publish_time":1482115942684,"dist-tags":{"latest":"301.0.0"}}