Installable via npm install --save ipfs-http-response
, it can also be used directly in the browser.
The source is available for download from GitHub. Alternatively, you can install using npm:
$ npm install --save ipfs-http-response
You can then require()
ipfs-http-response as normal:
const ipfsHttpResponse = require('ipfs-http-response')
ipfs-http-response
should work in any ECMAScript 2018 environment out of the box.
Usage:
<script type="text/javascript" src="index.js"></script>
The portable versions of ipfs-http-response
, including index.js
and index.min.js
, are included in the /dist
folder. ipfs-http-response
can also be found on unpkg.com under