-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
1 parent
79092b8
commit b288df0
Showing
51 changed files
with
542 additions
and
546 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -98,7 +98,7 @@ <h2>Table of Contents</h2> | |
<a href="#getting-started" id="getting-started" style="color: inherit; text-decoration: none;"> | ||
<h2>Getting Started</h2> | ||
</a> | ||
<pre><code class="language-ts"><span class="hljs-keyword">import</span> { opine } <span class="hljs-keyword">from</span> <span class="hljs-string">"https://deno.land/x/opine@main/mod.ts"</span>; | ||
<pre><code class="language-ts"><span class="hljs-keyword">import</span> { opine } <span class="hljs-keyword">from</span> <span class="hljs-string">"https://deno.land/x/opine@0.20.2/mod.ts"</span>; | ||
|
||
<span class="hljs-keyword">const</span> app = opine(); | ||
|
||
|
@@ -113,13 +113,9 @@ <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 Opine straight into your project:</p> | ||
<pre><code class="language-ts"><span class="hljs-keyword">import</span> { opine } <span class="hljs-keyword">from</span> <span class="hljs-string">"https://deno.land/x/opine@main/mod.ts"</span>;</code></pre> | ||
<p>If you want to use a specific version of Opine, just modify the import url to contain the version:</p> | ||
<pre><code class="language-ts"><span class="hljs-keyword">import</span> { opine } <span class="hljs-keyword">from</span> <span class="hljs-string">"https://deno.land/x/[email protected]/mod.ts"</span>;</code></pre> | ||
<p>Or if you want to use a specific commit of Opine, just modify the import url to contain the commit hash:</p> | ||
<pre><code class="language-ts"><span class="hljs-keyword">import</span> { opine } <span class="hljs-keyword">from</span> <span class="hljs-string">"https://deno.land/x/opine@c21f8d6/mod.ts"</span>;</code></pre> | ||
<pre><code class="language-ts"><span class="hljs-keyword">import</span> { opine } <span class="hljs-keyword">from</span> <span class="hljs-string">"https://deno.land/x/[email protected]/mod.ts"</span>;</code></pre> | ||
<p>Opine is also available on <a href="https://nest.land/package/opine">nest.land</a>, a package registry for Deno on the Blockchain.</p> | ||
<pre><code class="language-ts"><span class="hljs-keyword">import</span> { opine } <span class="hljs-keyword">from</span> <span class="hljs-string">"https://x.nest.land/opine@0.14.0/mod.ts"</span>;</code></pre> | ||
<pre><code class="language-ts"><span class="hljs-keyword">import</span> { opine } <span class="hljs-keyword">from</span> <span class="hljs-string">"https://x.nest.land/opine@0.20.2/mod.ts"</span>;</code></pre> | ||
<a href="#features" id="features" style="color: inherit; text-decoration: none;"> | ||
<h2>Features</h2> | ||
</a> | ||
|
@@ -139,7 +135,7 @@ <h2>Documentation</h2> | |
</a> | ||
<ul> | ||
<li><a href="https://github.com/asos-craigmorten/opine/blob/main/.github/API/api.md">Opine Docs</a> - usually the best place when getting started ✨</li> | ||
<li><del><a href="https://asos-craigmorten.github.io/opine/">Opine Type Docs</a></del> - Unavailable while awaiting GitHub's support of alternatively named default branches.</li> | ||
<li><a href="https://asos-craigmorten.github.io/opine/">Opine Type Docs</a></li> | ||
<li><a href="https://doc.deno.land/https/deno.land/x/opine/mod.ts">Opine Deno Docs</a></li> | ||
<li><a href="https://expressjs.com/en/4x/api.html">ExpressJS API Docs</a></li> | ||
<li><a href="https://github.com/asos-craigmorten/opine/blob/main/LICENSE.md">License</a></li> | ||
|
Oops, something went wrong.