{"name":"ipld-bitcoin","version":"0.4.0","description":"JavaScript implementation of Bitcoin IPLD formats","leadMaintainer":"Volker Mische <volker.mische@gmail.com>","main":"src/index.js","scripts":{"test":"aegir test","test:browser":"aegir test --target browser","test:node":"aegir test --target node","lint":"aegir lint","release":"aegir release","release-minor":"aegir release --type minor","release-major":"aegir release --type major","build":"aegir build","coverage":"aegir coverage","coverage-publish":"aegir coverage publish"},"pre-push":["lint","test"],"repository":{"type":"git","url":"git+https://github.com/ipld/js-ipld-bitcoin.git"},"keywords":["IPFS"],"license":"MIT","bugs":{"url":"https://github.com/ipld/js-ipld-bitcoin/issues"},"homepage":"https://github.com/ipld/js-ipld-bitcoin#readme","dependencies":{"bitcoinjs-lib":"^5.0.0","buffer":"^5.6.0","cids":"^1.0.0","multicodec":"^2.0.0","multihashes":"^3.0.0","multihashing-async":"^2.0.0","uint8arrays":"^1.0.0"},"devDependencies":{"aegir":"^25.0.0"},"contributors":[{"name":"Volker Mische","email":"volker.mische@gmail.com"},{"name":"Richard Schneider","email":"makaretu@gmail.com"},{"name":"Alex Potsides","email":"alex@achingbrain.net"},{"name":"David Dias","email":"daviddias.p@gmail.com"},{"name":"Mathis Wiehl","email":"mathis.wiehl@sinnerschrader.com"},{"name":"Scott","email":"scottystreet@gmail.com"}],"gitHead":"186efdac85289eb58d3c6b8186e6188df0db41a7","_id":"ipld-bitcoin@0.4.0","_nodeVersion":"14.6.0","_npmVersion":"6.14.6","dist":{"integrity":"sha512-SRcNRMvdeIKlCCMymqas5ZX9tVjAZ/cid2LPd0vWrLtwc1r4liWvHAxbaU/fJa8Xo6neYWuS/XIqaE/yzMAhRw==","shasum":"451f380d9356b9fe5f6affa7729d2df0baf6fb6d","tarball":"http://registry-npm.ywwl.com/ipld-bitcoin/download/ipld-bitcoin-0.4.0.tgz","fileCount":37,"unpackedSize":2008648,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfKY93CRA9TVsSAnZWagAAZJMP/jeKF5R2hk5aAD34yMSC\nIZ7YNSw8IxGTfx07CH+26wBVociw7Uyiu9Q1crB0hcmlGvzxbnWOcmbyWjuL\nKKTlFaPbSz6MIdlYYtVjNCoGMIQt0OHEtdTRGYys+XOnv0fiBC/N73qKK2E2\n7eaoeZb6iO4O/MapJvVvYcw8LmVpSfPwmxzj3OSJ3reKPsISSCEjv1GnJX5v\nMnep307sIEAvsA7zLSzZvf/dXMKrf9itF2mua2pcdsCTucLgoTKz4VBlTVSW\niE/HmM5OKZ+jHonQoGi8VYjvpCXY0rjvbmMZ/SwFdQkWaQ+zfdAOQSaiPbtZ\nSSCKhCBwCnq1DRjYHXJvxZHpS3QyGQFsG4vgVReomQevEXJlkfIl5XVJ7Fxw\n2MbaSoSIqDxVX+ah6ir/2QGS/W/5OdZsdTibiiJnVfEFpR3LQD+tJwIchnnG\nzP/J3Pu2FAmOQezdp1pXDSnm/JcBPBmps/EjuA7qdYmGHwslCFX9dXK861TO\ne2RvGaP/DCIoBJoPp0sybGNYzwTe9VGzlaryFMIx2OFjtuqj/SfJsDKHEefF\nDOETOH6v9Xni2GdTdLzo4mtGGM0dnM8eCegrA8AbO+bfy04aDuwq9ZSg+10u\n0MyemKMJ6Z17wac9/m2QnYYiAeReRRZU9cN0qF15I2yaJWoj4tyjnoAZiz0F\n705l\r\n=jxqS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDRn878wuKh/7liY3CH63i1yOTuFoBT0JOkZ5PggYH44AIhAMUgQWy6DBaEYHmhNiXSLs/VbhQhRq3S3M0sACHVHC5G"}],"size":1352612,"noattachment":false,"key":"/ipld-bitcoin/-/ipld-bitcoin-0.4.0.tgz"},"maintainers":[{"email":"mail@daviddias.me","name":"daviddias"},{"email":"volker.mische@gmail.com","name":"vmx"}],"_npmUser":{"name":"vmx","email":"volker.mische@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ipld-bitcoin_0.4.0_1596559223102_0.9619323753912679"},"_hasShrinkwrap":false,"readme":"# IPLD for Bitcoin\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-IPLD-blue.svg?style=flat-square)](http://github.com/ipld/ipld)\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/ipld/js-ipld-bitcoin)](https://travis-ci.com/ipld/js-ipld-bitcoin)\n[![Coverage](https://coveralls.io/repos/github/ipld/js-ipld-bitcoin/badge.svg?branch=master)](https://coveralls.io/github/ipld/js-ipld-bitcoin?branch=master)\n[![](https://img.shields.io/badge/standard--readme-OK-green.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)\n[![](https://david-dm.org/ipld/js-ipld-bitcoin.svg?style=flat-square)](https://david-dm.org/ipld/js-ipld-bitcoin)\n[![](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/feross/standard) [![Greenkeeper badge](https://badges.greenkeeper.io/ipld/js-ipld-bitcoin.svg)](https://greenkeeper.io/)\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%3D6.0.0-orange.svg?style=flat-square)\n\n> JavaScript implementation of the [IPLD format spec](https://github.com/ipld/interface-ipld-format) for Bitcoin blocks.\n\n## Lead Maintainer\n\n[Volker Mische](https://github.com/vmx)\n\n## Table of Contents\n\n- [Install](#install)\n  - [npm](#npm)\n  - [Use in Node.js](#use-in-nodejs)\n  - [Use in a browser with browserify, webpack or any other bundler](#use-in-a-browser-with-browserify-webpack-or-any-other-bundler)\n  - [Use in a browser Using a script tag](#use-in-a-browser-using-a-script-tag)\n- [Usage](#usage)\n- [Contribute](#contribute)\n- [License](#license)\n\n## Install\n\n### npm\n\n```sh\n> npm install ipld-bitcoin\n```\n\n### Use in Node.js\n\n```JavaScript\nconst IpldBitcoin = require('ipld-bitcoin')\n```\n\n### Use in a browser with browserify, webpack or any other bundler\n\nThe code published to npm that gets loaded on require is in fact a ES5 transpiled version with the right shims added. This means that you can require it and use with your favourite bundler without having to adjust asset management process.\n\n```JavaScript\nvar IpldBitcoin = require('ipld-bitcoin')\n```\n\n### Use in a browser Using a script tag\n\nLoading this module through a script tag will make the `IpldBitcoint` obj available in the global namespace.\n\n```html\n<script src=\"https://unpkg.com/ipld-bitcoin/dist/index.min.js\"></script>\n<!-- OR -->\n<script src=\"https://unpkg.com/ipld-bitcoin/dist/index.js\"></script>\n```\n\n## Usage\n\nAs this is is an implementation of the [IPLD format spec](https://github.com/ipld/interface-ipld-format), it should be used through the [IPLD resolver](https://github.com/ipld/js-ipld-resolver). See the IPLD format spec for details about the API.\n\nThough it can also be used as a standalone module:\n\n```JavaScript\nconst IpldBitcoin = require('ipld-bitcoin')\n\n// `bitcoinBlock` is some binary Bitcoin block\nconst dagNode = IpldBitcoin.util.deserialize(bitcoinBlock)\nconsole.log(dagNode)\n```\n\n## Contribute\n\nFeel free to join in. All welcome. Open an [issue](https://github.com/ipld/js-ipld-bitcoin/issues)!\n\nFor more information please check out the [contributing guidelines](CONTRIBUTING.md).\n\nSmall note: If editing the README, please conform to the [standard-readme](https://github.com/RichardLitt/standard-readme) specification.\n\n## License\n\n[MIT](LICENSE) © 2018 IPFS\n","publish_time":1596559223429,"_cnpm_publish_time":1596559223429,"dist-tags":{"latest":"0.4.1"}}