{"bin":{"ipfs":"bin/ipfs"},"bugs":{"url":"https://github.com/ipfs/npm-go-ipfs/issues"},"dist":{"shasum":"fa1298df984ffa045b851d3cd5f56b979f5e8d3f","tarball":"https://registry.npmjs.org/go-ipfs/-/go-ipfs-0.7.0-rc1.tgz","fileCount":22,"integrity":"sha512-MT/mHE4gxyczFYupmjAnHnYj0MOF7qw5L2zcjOfK4ulmtXm8pec8Mr5OowKeDjtqS9I72tyyot9in8Z0pCfDqg==","signatures":[{"sig":"MEUCIQC2ThOygw3KWThzUIanpFKogPbBmqNDwrhb5tHCqMgDswIgUY+oermUM3pa/TKtRcia6R1g1I6R8E3R401VcO++u8M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21011,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfRuuvCRA9TVsSAnZWagAAit8P/0mXIRSLAF97HvafZr6m\nVrfBHOyqtbCGpccMHQ4VCt53GFD3t4rAulYcGWKUA/UAlSKpfhrOc3mYtKM/\nklnG1H08rE5N2/7FcOod7BQxo+hVhrdOe1ekR0IXgPo/dKq5QPTicJkAcrFw\nG3VpwZ6qM8N8xsoTF0vsQkKq25x7oxmaFR5DKSkxLEmZH9dgjTJCk+9LHl1l\nGQQHoZ+DJVFOAs1bRIoDfSRhIHYpzmoSStcT8zfKWJ5jvFed7GJ24XtR7i6Y\nqrk1NESAWTcZExnRerTfdb7NsgHn/dTozSRN0OaSKcOtGe7qyw5+8j7YOARL\nJ0pKGxeJhYK4kWZzPwjeC2vhEY48562+Oz//2/GFWim+mvKug0ivDrE65AVc\nB7RXb21so0iLlwjLXibax8YJnveNqPitF3DzdYKVhoAEGJ9VCUbgYPiljX+M\nUt498pGhiDKFOZZm/0x5cvgsVCR8Ws+UEUNIpt9hY9/0xoSQylwL/Llz4qdz\nPwmzRzfMkxMl3lR5h7KYJvUPJw4EjyGgjQV5QDOZRjizeajAMu9evlfe+WgX\n5iNbIKFMsYcNhq701Mz3MqMMZZc+EEr22GVbyqixWuPk9RFHCFYcCSA5oRdy\n6vAPjfB3hbb7YhTp/BfcQdzUWWeGOXjcEgPsr/6CPmTYyMFw0IJ542JOH/Sh\nQLH1\r\n=Ts05\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","name":"go-ipfs","author":{"name":"Protocol Labs, Inc."},"readme":"# npm-go-ipfs\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[![standard-readme compliant](https://img.shields.io/badge/standard--readme-OK-green.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)\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 go-ipfs from npm\n\n## Table of Contents\n\n- [Install](#install)\n- [Usage](#usage)\n- [Development](#development)\n  - [Publish a new version](#publish-a-new-version)\n- [Contribute](#contribute)\n- [License](#license)\n\n## Install\n\nInstall the latest [go-ipfs](https://github.com/ipfs/go-ipfs/) binary.\n\n```\nnpm install -g go-ipfs\n```\n\nInstalls from [https://gobuilder.me/github.com/ipfs/go-ipfs/cmd/ipfs](https://gobuilder.me/github.com/ipfs/go-ipfs/cmd/ipfs).\n\n## Usage\n\n```sh\n# Install globally\n> npm install -g go-ipfs\n> ipfs version\nipfs version v0.4.22\n\n# Install locally\n> npm install go-ipfs\n> ./node_modules/.bin/ipfs\nipfs version v0.4.22\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**Warning:** this module uses the _latest_ version of ipfs. If there is a strong need to vendor an older version, let us know. We care about versions very much :(  but for a number of reasons, this is easier for us all right now.\n\n## Development\n\n**Warning**: the file `bin/ipfs` is a placeholder, when downloading stuff, it gets replaced. so if you run `node install.js` it will then be dirty in the git repo. **Do not commit this file**, as then you would be commiting a big binary and publishing it to npm. (**TODO: add a pre-commit or pre-publish hook that warns about this**)\n\n### Publish a new version\n\nYou should be able to just run `./publish.sh` for example:\n\n```sh\n> ./publish.sh\nusage ./publish.sh <version>\npublish a version of go-ipfs to npm\n\n> ./publish.sh 0.3.11\n```\n\nThis will:\n\n- check the version is indeed a tag in https://github.com/ipfs/go-ipfs\n- check the size of `bin/ipfs` is right (must be the checked in file)\n- update the version numbers in `package.json` and `README.md`\n- `git commit` the changes\n- push to https://github.com/ipfs/npm-go-ipfs\n- publish to `go-ipfs@$version` to https://npmjs.com/package/go-ipfs\n\nOpen an issue in the repo if you run into trouble.\n\n### Publish a new version of this module with exact same go-ipfs version\n\nIf some problem happens, and you need to publish a new version of this module targetting _the same_ go-ipfs version, then please follow this convention:\n\n1. **Clean up bad stuff:** unpublish all modules with this exact same `<go-ipfs-version>`\n2. **Add a \"hacky\" version suffix:** use version: `<go-ipfs-version>-hacky<num>`\n3. **Publish version:** publish the module. Since it's the only one with the go-ipfs version, then it should be installed.\n\n> Why do this?\n\nWell, if you previously published npm module `go-ipfs@0.4.0` and there was a problem, we now must publish a different version, but we want to keep the version number the same. so the strategy is to publish as `go-ipfs@0.4.0-hacky1`, and unpublish `go-ipfs@0.4.0`.\n\n> Why `-hacky<num>`?\n\nBecause it is unlikely to be a legitimate go-ipfs version, and we want to support go-ipfs versions like `floodsub-1` etc.\n\n> Do i have to say `-hacky<num>` or can i just use `-<num>`?\n\n`-<num>` won't work, as [link-ipfs.js](./link-ipfs.js) expects `-hacky<num>`. If you want to\nchange the convention, go for it, and update this readme accordingly.\n\n## Contribute\n\nFeel free to join in. All welcome. Open an [issue](https://github.com/ipfs/npm-go-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","gitHead":"67f4b9bb6c80b51994074d2312c4a684c0b91aaf","license":"MIT","scripts":{"lint":"standard","test":"tape test/*.js | tap-spec","postinstall":"node src/post-install.js"},"_npmUser":{"name":"ipfsbot","email":"infra-accounts@protocol.ai"},"homepage":"https://github.com/ipfs/npm-go-ipfs","keywords":["ipfs","install"],"deprecated":"'go-ipfs' name has been deprecated. Please switch your dependency to 'kubo' - https://www.npmjs.com/package/kubo","repository":{"url":"git+https://github.com/ipfs/npm-go-ipfs.git","type":"git"},"_npmVersion":"6.14.6","description":"Install the latest go-ipfs binary","directories":{},"maintainers":[{"name":"achingbrain","email":"alex@achingbrain.net"},{"name":"alanshaw","email":"alan138@gmail.com"},{"name":"daviddias","email":"mail@daviddias.me"},{"name":"ipfsbot","email":"infra-accounts@protocol.ai"},{"name":"olizilla","email":"oli@tableflip.io"},{"name":"stebalien","email":"steven@stebalien.com"}],"_nodeVersion":"10.22.0","dependencies":{"tar-fs":"^2.1.0","pkg-conf":"^3.1.0","node-fetch":"^2.6.0","go-platform":"^1.0.0","gunzip-maybe":"^1.4.2","unzip-stream":"^0.3.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tape":"^4.13.2","execa":"^4.0.1","fs-extra":"^9.0.0","standard":"^13.1.0","tap-spec":"^5.0.0","tape-promise":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/go-ipfs_0.7.0-rc1_1598483374997_0.9388866333610866","host":"s3://npm-registry-packages"},"_id":"go-ipfs@0.7.0-rc1","version":"0.7.0-rc1"}