{"name":"go-ipfs-dep","version":"0.4.21-0","description":"Install the latest go-ipfs binary","main":"src/index.js","engines":{"node":">=6.0.0","npm":">=3.0.0"},"scripts":{"install":"node src/bin.js","test":"tape test/*.js | tap-spec","lint":"standard"},"repository":{"type":"git","url":"git+https://github.com/ipfs/npm-go-ipfs-dep.git"},"dependencies":{"go-platform":"^1.0.0","gunzip-maybe":"^1.4.1","node-fetch":"^2.3.0","pkg-conf":"^3.1.0","tar-fs":"^2.0.0","unzip-stream":"^0.3.0"},"keywords":["ipfs","install"],"author":{"name":"Juan Benet","email":"juan@benet.ai","url":"http://juan.benet.ai/"},"license":"MIT","bugs":{"url":"https://github.com/ipfs/npm-go-ipfs-dep/issues"},"homepage":"https://github.com/ipfs/npm-go-ipfs-dep","devDependencies":{"aegir":"^18.2.0","execa":"^1.0.0","rimraf":"^2.6.3","standard":"^12.0.1","tap-spec":"^5.0.0","tape":"^4.9.1"},"contributors":[{"name":"Alan Shaw","email":"alan.shaw@protocol.ai"},{"name":"Alex Potsides","email":"alex@achingbrain.net"},{"name":"David Dias","email":"daviddias.p@gmail.com"},{"name":"Edward Silverton","email":"e.silverton@gmail.com"},{"name":"Friedel Ziegelmayer","email":"dignifiedquire@gmail.com"},{"name":"Haad","email":"haadcode@users.noreply.github.com"},{"name":"Harlan T Wood","email":"harlantwood@users.noreply.github.com"},{"name":"Henrique Dias","email":"hacdias@gmail.com"},{"name":"Oli Evans","email":"oli@tableflip.io"},{"name":"Scott Hardy","email":"scott.the.hardy@gmail.com"},{"name":"Stephen Whitmore","email":"stephen.whitmore@gmail.com"},{"name":"haad","email":"haad@headbanggames.com"}],"readme":"# go-ipfs-dep\n\n> Download [go-ipfs](https://github.com/ipfs/go-ipfs/) to your node_modules.\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[![Travis CI](https://flat.badgen.net/travis/ipfs/npm-go-ipfs-dep)](https://travis-ci.com/ipfs/npm-go-ipfs-dep)\n[![Dependency Status](https://david-dm.org/ipfs/npm-go-ipfs.svg?style=flat-square)](https://david-dm.org/ipfs/npm-go-ipfs)\n\n\n# Installation\n\n```\nnpm install go-ipfs-dep --save\n```\n\nSee [IPFS getting-started](http://ipfs.io/docs/getting-started). If anything goes wrong, try using: [http://ipfs.io/docs/install](http://ipfs.io/docs/install).\n\n## Usage\n\nThis module downloads `go-ipfs` binaries from https://dist.ipfs.io into your project.\n\nBy default it will download the go-ipfs version that matches the npm version of this module. So depending on `go-ipfs-dep@0.4.19` will install `go-ipfs v0.4.19` for your current system architecture, in to your project at `node_modules/go-ipfs-dep/go-ipfs/ipfs`.\n\n### Overriding the go-ipfs version\n\nYou can override the version of go-ipfs that gets downloaded by adding by adding a `go-ipfs.version` field to your `package.json`\n\n```json\n\"go-ipfs\": {\n  \"version\": \"v0.4.13\"\n},\n```\n\n### Using local IPFS daemon as the package download url\n\nThe url to download the binaries from can be specified by adding a field `go-ipfs.distUrl` field to your `package.json`, eg:\n\n```json\n\"go-ipfs\": {\n  \"version\": \"v0.4.3\",\n  \"distUrl\": \"http://localhost:8080/ipfs/QmSoNtqW22htkg9mtHWNBvZLUEmqfq8su7957meS1iQfeL\"\n},\n```\n\nWhere `QmSoNtqW22htkg9mtHWNBvZLUEmqfq8su7957meS1iQfeL` is the root of the distributions web site.\n\nOr when run with `node src/bin.js`, the dist url can be passed via an environment variable `GO_IPFS_DIST_URL`, eg:\n\n```\nGO_IPFS_DIST_URL=http://localhost:8080/ipfs/QmSoNtqW22htkg9mtHWNBvZLUEmqfq8su7957meS1iQfeL node binsrc/bin.js\n```\n\n### Arguments\n\nWhen used via `node src/bin.js`, you can specify the target platform, version and architecture via environment variables: `TARGET_OS`, `TARGET_VERSION` and `TARGET_ARCH`.\n\nWe fetch the versions dynamically from `https://dist.ipfs.io/go-ipfs/versions` and the OSes and architectures from `https://dist.ipfs.io/go-ipfs/${VERSION}/dist.json`.\n\nOr via command line arguments in the order of:\n\n```\nnode src/bin.js <version> <platform> <architecture> <install directory>\n```\n\n```\nnode src/bin.js v0.4.3 linux amd64 ./go-ipfs\n```\n\n## Development\n\n**Note**: The binary gets put in the `go-ipfs` folder inside the module folder.\n\n## Deployment\n\n### Prerelease\n\nYou have made changes and want to triple check everything is working. You can! If you publish with a numeric prerelease identifier then `go-ipfs-dep` will strip it and install the corresponding version e.g. `0.4.19-0` installs `go-ipfs` version `0.4.19`.\n\nTo deploy a new version with a prerelease identifier run the following command:\n\n```sh\nnpx aegir release --type prepatch --preid '' --dist-tag next --no-lint --no-test --no-build\n# Note: change \"--type prepatch\" to the appropriate prerelease type.\n# e.g. prepatch: 0.4.18 => 0.4.19-0, preminor: 0.4.18 => 0.5.0-0 etc.\n\n# Increment prerelease (e.g. 0.4.19-0 -> 0.4.19-1)\nnpx aegir release --type prerelease --preid '' --dist-tag next --no-lint --no-test --no-build\n```\n\nThis publishes to the \"next\" tag meaning that the current \"latest\" version of `go-ipfs-dep` will remain the same.\n\nWhen you're finally ready to release:\n\n```sh\nnpx aegir release --type=patch --no-lint --no-test --no-build\n```\n","readmeFilename":"README.md","gitHead":"ccd0c629d94659a7f28c77d71af8eb987eb52a55","_id":"go-ipfs-dep@0.4.21-0","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","dist":{"integrity":"sha512-AcO8f7hLDWTGsEVnXJGGlVvpr990AdfDCeng9fdpiaRCfOJ9E334BeAiy4CUipNKPYQBEW+tdwxKh2jED2a8pw==","shasum":"463718227d3b42ae49c45122c2c6a486a142354f","tarball":"http://registry-npm.ywwl.com/go-ipfs-dep/download/go-ipfs-dep-0.4.21-0.tgz","fileCount":10,"unpackedSize":20713,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc9NvJCRA9TVsSAnZWagAAaDMQAJ9H7T/rchZWEr+HMA29\nIMxYcaiofNeQEAz/yckBOCDAUDcLXqBCnt2p5awfoM1xuIR6/K2h+9NeLZl5\nZV4g/QYr83Bxo2OhIMeTahrKziszjFC3cVljhT4nh3sgLKPfWjUbWYrTBQ1M\n8ikQ0keRjsgZKfNIV3JuaH1fnxBvEDsPkgrhg+mUi73m2lSVOJCBkd/SAL1B\nx8nca0o02dxS0kt93R1HsiD49hD6af/O+BZDsrZHQCp5aqG0Jq1k22d8Hr5c\nDM6U13giXRc6PbLX3sun3PfwYi0C+18xf/4mA/VrgXfXNHSVdlrS6368R9+1\n3A1zHdSfi0ozz3DZmVtdcp01obN9zgoWIcPekcAR5QVJoX8Wsh7L2YTZ7DZO\nn/LlceRRPHc0aliCDVZZ8nL+6QCiSSi5VlRnEz2LaTnM+6cdBvkyZ6EhELEa\n9sgab6wu9ikkRJD2PcSJILa13u7JYck4P3QQP11F3Zwa5u3aEzTlYSNGcoFU\nJ+3R3X02hrcqrnb+5YAr1BNKegs8cEwDOIkd7HjnL+Qf++pgq2NcyqSerzQV\n4X+D3zyU8jXfOrpmSLRQk/XD66gkmDWnEC/w/CtmedPB56sgZJTo8aTPq/XN\nQhjMTmX7RDYIowlgft6RiKStD8JCV/NesRH2c502LmEJiu4NGDXb6CArntPv\nBdi2\r\n=nspu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCss0sD36c1MaWoFng4raOGMCSb8movLTtnP+pkFYkBvAIhANLq68y4/OPTuyG+m2pMsfpt1Iw7tAqqn8drljp29RqG"}],"size":6627,"noattachment":false,"key":"/go-ipfs-dep/-/go-ipfs-dep-0.4.21-0.tgz"},"maintainers":[{"name":"daviddias","email":"daviddias.p@gmail.com"}],"_npmUser":{"name":"olizilla","email":"oli@tableflip.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/go-ipfs-dep_0.4.21-0_1559550920558_0.2263414610383383"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Please use 'go-ipfs' instead.","publish_time":1559550920727,"_cnpm_publish_time":1559550920727,"dist-tags":{"latest":"0.7.0","next":"0.7.0-rc2"}}