{"name":"ipld-bitcoin","version":"0.1.4","description":"JavaScript implementation of Bitcoin IPLD formats","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"],"author":{"name":"vmx"},"license":"MIT","bugs":{"url":"https://github.com/ipld/js-ipld-bitcoin/issues"},"homepage":"https://github.com/ipld/js-ipld-bitcoin#readme","dependencies":{"bitcoinjs-lib":"^3.3.2","cids":"~0.5.2","dirty-chai":"^2.0.1","hash.js":"^1.1.3","multihashes":"~0.4.12"},"devDependencies":{"aegir":"^12.1.3","chai":"^4.1.2"},"contributors":[{"name":"David Dias","email":"daviddias.p@gmail.com"},{"name":"Volker Mische","email":"volker.mische@gmail.com"}],"gitHead":"c64c58f3aab52a298c0403086841ca23768886d5","_id":"ipld-bitcoin@0.1.4","_npmVersion":"5.5.1","_nodeVersion":"8.9.3","_npmUser":{"name":"vmx","email":"volker.mische@gmail.com"},"dist":{"integrity":"sha512-GYRlHcJro7ee6ip89c0+7HQOxht9miqDgPDkEBSMxY7SLmZFCf4nSC8gUrzrtYXBS8oWYqsYy/v31yu/uT4tkA==","shasum":"d1e2314331ae2e15edef5a0f953387bff9554db6","tarball":"http://registry-npm.ywwl.com/ipld-bitcoin/download/ipld-bitcoin-0.1.4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGl858ePI3IpD662z9dqda30JexSzUIYJ41ntr68ZSteAiBoeEeJp+8ohwMsHhTPDmYJCY1AHXeTCV5NO0/F0UZADg=="}],"size":360106,"noattachment":false,"key":"/ipld-bitcoin/-/ipld-bitcoin-0.1.4.tgz"},"maintainers":[{"name":"daviddias","email":"daviddias.p@gmail.com"},{"name":"vmx","email":"volker.mische@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ipld-bitcoin-0.1.4.tgz_1517484699073_0.7698104921728373"},"directories":{},"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":1517484700507,"_cnpm_publish_time":1517484700507,"dist-tags":{"latest":"0.4.1"}}