{"bugs":{"url":"https://github.com/ipfs/npm-go-ipfs-dep/issues"},"dist":{"shasum":"c458494655b354c9c6c9d44c826f2f206f5c7d02","tarball":"https://registry.npmjs.org/go-ipfs-dep/-/go-ipfs-dep-0.4.20-0.tgz","fileCount":8,"integrity":"sha512-xXVtxNjSQ0ltQUBtfpY2qxX7QcgTf9EhNZqLmfukwY1gFEjYCXPJUEaCS2WlH5mM7cPBj7+Z53/fzwZci7CmJw==","signatures":[{"sig":"MEUCIG9p4DZ+SoqDZmB9d1MaxsWW7UKVTQGjfbVNwFPTKTudAiEAnUhSgV9p6DQ9KIwVGmPKDtDRT0V79GX3fp++4K81flc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18383,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJctun0CRA9TVsSAnZWagAAiMwQAItb7322T6diVyc1+OPX\nYb1m20AlQyKuHDmV7by08aO7VNyDldAiH4EMy/Y+jiG+udhsT/MFmDFVQ/wX\nKlFCkgEhXwUUt0suJ8uh6wi+zjhaDNzmq2h/e2CyOoi9V3Xp3U3xuwdRNkI5\n1/j/v/ihxaUkQ5CanGBMka2gJczOZqgffsDhwBvV3r9CTefklqhpcMmeq0Av\ne/vzmD185Oqx/VLTQAyspR3P/4djU0MtShk81l15DZ6O7rClhOiZ6BWwXEmW\n/kQSH3h49sHnFrCIthEfIQM9W1ovoK3vohN+u/N8Bf9/yeUAujsfOI1oH2Om\nigs/In5LzJypT9tSEhATEOzMR797y+4ZgGOw6wagH1iuGEkD2gQ9bOnqK30p\n50eQGCU1RDcIUsDSVXrlXvoVk04yU4eYTyBikdz43dmEbdLEO8nySL5XixPJ\nK2Px4Jbr/Ex7Gxb8mRFWuXZEQezTX0jFidVHg8Q5OrHaQ3Irw+JyN56/2Pd4\n6//4btle/Jsk1yHlUZM1NHK7OfNEq5mxtLuXjX+gNhwOdn8h6+MxMxVShPQy\n1Ipqn8E79jprce/JFM1PI99CIImNkOM5Hwt53TxJuKhi1APqw+rmjd4BwDBp\nYZaFlNF0JbVTppljdu+eORUJ4tZD2fgd0QtcNsGEK43afZR846ERdcM5hXoK\nplEk\r\n=WzyT\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","name":"go-ipfs-dep","author":{"url":"http://juan.benet.ai/","name":"Juan Benet","email":"juan@benet.ai"},"readme":"Install go-ipfs from npm as a dependency of your project\n========================================================\n\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> Install the latest [go-ipfs](https://github.com/ipfs/go-ipfs/) binary from [http://dist.ipfs.io](http://dist.ipfs.io)\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## Development\n\n**Warning**: The binary gets put in the `go-ipfs` folder inside the module folder.\n\n### Which go-ipfs version this package downloads?\n\nCan be specified in `package.json` with a field `go-ipfs.version`, eg:\n\n```json\n\"go-ipfs\": {\n  \"version\": \"v0.4.13\"\n},\n```\n\n### Using local IPFS daemon as the package download url\nCan be specified in `package.json` with a field `go-ipfs.version`, 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## 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","engines":{"npm":">=3.0.0","node":">=6.0.0"},"gitHead":"5c3bf31f0ad628fa43adc83c54587f620e663574","license":"MIT","scripts":{"lint":"standard","test":"tape test/*.js | tap-spec","install":"node src/bin.js"},"_npmUser":{"name":"alanshaw","email":"alan138@gmail.com"},"homepage":"https://github.com/ipfs/npm-go-ipfs-dep","keywords":["ipfs","install"],"deprecated":"Package no longer supported. Please use 'go-ipfs' instead.","repository":{"url":"git+https://github.com/ipfs/npm-go-ipfs-dep.git","type":"git"},"_npmVersion":"6.7.0","description":"Install the latest go-ipfs binary","directories":{},"maintainers":[{"name":"daviddias","email":"daviddias.p@gmail.com"}],"_nodeVersion":"11.14.0","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":"Scott Hardy","email":"scott.the.hardy@gmail.com"},{"name":"Stephen Whitmore","email":"stephen.whitmore@gmail.com"},{"name":"haad","email":"haad@headbanggames.com"}],"dependencies":{"tar-fs":"^2.0.0","node-fetch":"^2.3.0","go-platform":"^1.0.0","gunzip-maybe":"^1.4.1","unzip-stream":"^0.3.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tape":"^4.9.1","aegir":"^18.2.0","rimraf":"^2.6.2","standard":"^12.0.1","tap-spec":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/go-ipfs-dep_0.4.20-0_1555491315389_0.9063306465840724","host":"s3://npm-registry-packages"},"_id":"go-ipfs-dep@0.4.20-0","version":"0.4.20-0"}