Skip to content
This repository was archived by the owner on Sep 28, 2021. It is now read-only.

Commit 563f814

Browse files
committed
chore: update documentation
1 parent c5e4d2c commit 563f814

File tree

1 file changed

+2
-40
lines changed

1 file changed

+2
-40
lines changed

index.html

Lines changed: 2 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset='utf-8'>
5-
<title>ipfs-http-response 0.5.1 | Documentation</title>
5+
<title>ipfs-http-response 0.6.0 | Documentation</title>
66
<meta name='description' content='Creates an HTTP response from an IPFS Hash'>
77
<meta name='viewport' content='width=device-width,initial-scale=1'>
88
<link href='assets/bass.css' rel='stylesheet'>
@@ -15,7 +15,7 @@
1515
<div id='split-left' class='overflow-auto fs0 height-viewport-100'>
1616
<div class='py1 px2'>
1717
<h3 class='mb0 no-anchor'>ipfs-http-response</h3>
18-
<div class='mb1'><code>0.5.1</code></div>
18+
<div class='mb1'><code>0.6.0</code></div>
1919
<input
2020
placeholder='Filter'
2121
id='filter-input'
@@ -27,16 +27,6 @@ <h3 class='mb0 no-anchor'>ipfs-http-response</h3>
2727
<div id='toc'>
2828
<ul class='list-reset h5 py1-ul'>
2929

30-
31-
<li><a
32-
href='#intro'
33-
class="h5 bold black caps">
34-
Intro
35-
36-
</a>
37-
38-
</li>
39-
4030
</ul>
4131
</div>
4232
<div class='mt1 h6 quiet'>
@@ -46,34 +36,6 @@ <h3 class='mb0 no-anchor'>ipfs-http-response</h3>
4636
</div>
4737
<div id='split-right' class='relative overflow-auto height-viewport-100'>
4838

49-
50-
<div class='keyline-top-not py2'><section class='py2 clearfix'>
51-
52-
<h2 id='intro' class='mt0'>
53-
Intro
54-
</h2>
55-
56-
57-
<p>Installable via <code>npm install --save ipfs-http-response</code>, it can also be used directly in the browser.</p>
58-
<h2>Download</h2>
59-
<p>The source is available for download from <a href="git+https://github.com/ipfs/js-ipfs-http-response.git">GitHub</a>. Alternatively, you can install using npm:</p>
60-
<pre class='hljs'>$ npm install --save ipfs-http-response</pre>
61-
<p>You can then <code>require()</code> ipfs-http-response as normal:</p>
62-
<pre class='hljs'><span class="hljs-keyword">const</span> ipfsHttpResponse = <span class="hljs-built_in">require</span>(<span class="hljs-string">'ipfs-http-response'</span>)</pre>
63-
<h2>In the Browser</h2>
64-
<p><code>ipfs-http-response</code> should work in any ECMAScript 2018 environment out of the box.</p>
65-
<p>Usage:</p>
66-
<pre class='hljs'><span class="hljs-tag">&lt;<span class="hljs-name">script</span> <span class="hljs-attr">type</span>=<span class="hljs-string">"text/javascript"</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"index.js"</span>&gt;</span><span class="hljs-tag">&lt;/<span class="hljs-name">script</span>&gt;</span></pre>
67-
<p>The portable versions of <code>ipfs-http-response</code>, including <code>index.js</code> and <code>index.min.js</code>, are included in the <code>/dist</code> folder. <code>ipfs-http-response</code> can also be found on <a href="https://unpkg.com">unpkg.com</a> under</p>
68-
<ul>
69-
<li><a href="https://unpkg.com/ipfs-http-response/dist/index.min.js">https://unpkg.com/ipfs-http-response/dist/index.min.js</a></li>
70-
<li><a href="https://unpkg.com/ipfs-http-response/dist/index.js">https://unpkg.com/ipfs-http-response/dist/index.js</a></li>
71-
</ul>
72-
73-
74-
</section></div>
75-
76-
7739
</div>
7840
</div>
7941
<script src='assets/anchor.js'></script>

0 commit comments

Comments
 (0)