-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
14 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ Proxy middleware for Deno Oak HTTP servers. | |
</p> | ||
|
||
```ts | ||
import { proxy } from "https://deno.land/x/[email protected].0/mod.ts"; | ||
import { proxy } from "https://deno.land/x/[email protected].1/mod.ts"; | ||
import { Application } from "https://deno.land/x/[email protected]/mod.ts"; | ||
|
||
const app = new Application(); | ||
|
@@ -32,13 +32,13 @@ Before importing, [download and install Deno](https://deno.land/#installation). | |
You can then import oak-http-proxy straight into your project: | ||
|
||
```ts | ||
import { proxy } from "https://deno.land/x/[email protected].0/mod.ts"; | ||
import { proxy } from "https://deno.land/x/[email protected].1/mod.ts"; | ||
``` | ||
|
||
oak-http-proxy is also available on [nest.land](https://nest.land/package/oak-http-proxy), a package registry for Deno on the Blockchain. | ||
|
||
```ts | ||
import { proxy } from "https://x.nest.land/[email protected].0/mod.ts"; | ||
import { proxy } from "https://x.nest.land/[email protected].1/mod.ts"; | ||
``` | ||
|
||
## Docs | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -74,7 +74,7 @@ <h1>oak-http-proxy</h1> | |
<a href="https://deno-visualizer.danopia.net/dependencies-of/https/deno.land/x/oak_http_proxy/mod.ts"><img src="https://img.shields.io/endpoint?url=https%3A%2F%2Fdeno-visualizer.danopia.net%2Fshields%2Fupdates%2Fx%2Foak_http_proxy%2Fmod.ts" alt="oak-http-proxy dependency outdatedness" /></a> | ||
<a href="https://deno-visualizer.danopia.net/dependencies-of/https/deno.land/x/oak_http_proxy/mod.ts"><img src="https://img.shields.io/endpoint?url=https%3A%2F%2Fdeno-visualizer.danopia.net%2Fshields%2Fcache-size%2Fx%2Foak_http_proxy%2Fmod.ts" alt="oak-http-proxy cached size" /></a> | ||
</p> | ||
<pre><code class="language-ts"><span class="hljs-keyword">import</span> { proxy } <span class="hljs-keyword">from</span> <span class="hljs-string">"https://deno.land/x/[email protected].0/mod.ts"</span>; | ||
<pre><code class="language-ts"><span class="hljs-keyword">import</span> { proxy } <span class="hljs-keyword">from</span> <span class="hljs-string">"https://deno.land/x/[email protected].1/mod.ts"</span>; | ||
<span class="hljs-keyword">import</span> { Application } <span class="hljs-keyword">from</span> <span class="hljs-string">"https://deno.land/x/[email protected]/mod.ts"</span>; | ||
|
||
<span class="hljs-keyword">const</span> app = <span class="hljs-keyword">new</span> Application(); | ||
|
@@ -89,10 +89,10 @@ <h2>Installation</h2> | |
<p>This is a <a href="https://deno.land/">Deno</a> module available to import direct from this repo and via the <a href="https://deno.land/x">Deno Registry</a>.</p> | ||
<p>Before importing, <a href="https://deno.land/#installation">download and install Deno</a>.</p> | ||
<p>You can then import oak-http-proxy straight into your project:</p> | ||
<pre><code class="language-ts"><span class="hljs-keyword">import</span> { proxy } <span class="hljs-keyword">from</span> <span class="hljs-string">"https://deno.land/x/[email protected].0/mod.ts"</span>; | ||
<pre><code class="language-ts"><span class="hljs-keyword">import</span> { proxy } <span class="hljs-keyword">from</span> <span class="hljs-string">"https://deno.land/x/[email protected].1/mod.ts"</span>; | ||
</code></pre> | ||
<p>oak-http-proxy is also available on <a href="https://nest.land/package/oak-http-proxy">nest.land</a>, a package registry for Deno on the Blockchain.</p> | ||
<pre><code class="language-ts"><span class="hljs-keyword">import</span> { proxy } <span class="hljs-keyword">from</span> <span class="hljs-string">"https://x.nest.land/[email protected].0/mod.ts"</span>; | ||
<pre><code class="language-ts"><span class="hljs-keyword">import</span> { proxy } <span class="hljs-keyword">from</span> <span class="hljs-string">"https://x.nest.land/[email protected].1/mod.ts"</span>; | ||
</code></pre> | ||
<a href="#docs" id="docs" style="color: inherit; text-decoration: none;"> | ||
<h2>Docs</h2> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ deno run --allow-net --allow-read ./examples/proxy/index.ts | |
if have the repo cloned locally _OR_ | ||
|
||
```bash | ||
deno run --allow-net --allow-read https://deno.land/x/[email protected].0/examples/basic/index.ts | ||
deno run --allow-net --allow-read https://deno.land/x/[email protected].1/examples/basic/index.ts | ||
``` | ||
|
||
if you don't! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
* | ||
* if have the repo cloned locally OR | ||
* | ||
* deno run --allow-net https://deno.land/x/[email protected].0/examples/basic/index.ts | ||
* deno run --allow-net https://deno.land/x/[email protected].1/examples/basic/index.ts | ||
* | ||
* if you don't! | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters