diff options
Diffstat (limited to 'website/index.html')
-rw-r--r-- | website/index.html | 151 |
1 files changed, 0 insertions, 151 deletions
diff --git a/website/index.html b/website/index.html deleted file mode 100644 index 38c0092c7..000000000 --- a/website/index.html +++ /dev/null @@ -1,151 +0,0 @@ -<!-- Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. --> -<!DOCTYPE html> -<html> - <head> - <title>Deno</title> - <link rel="shortcut icon" href="favicon.ico"> - <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.14.2/build/styles/default.min.css"> - <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.14.2/build/styles/github-gist.min.css"> - <link rel="stylesheet" media="(prefers-color-scheme: dark)" href="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.14.2/build/styles/monokai-sublime.min.css"> - <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.14.2/build/highlight.min.js"></script> - <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.14.2/build/languages/typescript.min.js"></script> - <link rel="stylesheet" href="style.css" /> - <meta content="width=device-width, initial-scale=1.0" name="viewport" /> - </head> - <body> - <main> - <header> - <img id="logo" src="images/deno_logo_3.svg" width=200> - <div> - <h1>Deno</h1> - A secure runtime for JavaScript and TypeScript built with V8, Rust, and Tokio - </div> - </header> - - <table> - <tr> - <th></th> - <th>Linux & Mac</th> - <th>Windows</th> - </tr> - <tr> - <th><a href="https://github.com/denoland/deno">deno</a></th> - <td colspan="2"> - <a class="badge" href="https://github.com/denoland/deno/actions"> - <img src="https://github.com/denoland/deno/workflows/build/badge.svg" /> - </a> - </td> - </tr> - <tr> - <th> - <a href="https://github.com/denoland/deno_install">deno_install</a> - </th> - <td> - <a class="badge" href="https://travis-ci.com/denoland/deno_install"> - <img - src="https://travis-ci.com/denoland/deno_install.svg?branch=master" - /> - </a> - </td> - <td> - <a - class="badge" - href="https://ci.appveyor.com/project/deno/deno-install" - > - <img - src="https://ci.appveyor.com/api/projects/status/gtekeaf7r60xa896?branch=master&svg=true" - /> - </a> - </td> - </tr> - <tr> - <th><a href="https://github.com/denoland/registry">registry</a></th> - <td colspan=2> - <a class="badge" href="https://travis-ci.com/denoland/registry"> - <img - src="https://travis-ci.com/denoland/registry.svg?branch=master" - /> - </a> - </td> - </tr> - </table> - - <h2 id="install">Install <a href="#install">#</a></h2> - - <p>Using Shell:</p> - <pre>curl -fsSL <a -href="https://deno.land/x/install/install.sh">https://deno.land/x/install/install.sh</a> | sh</pre> - <p>Or using PowerShell:</p> - <pre>iwr <a -href="https://deno.land/x/install/install.ps1">https://deno.land/x/install/install.ps1</a> -useb | iex</pre> - <p>Using <a href="https://formulae.brew.sh/formula/deno">Homebrew</a> (mac):</p> - <pre>brew install deno</pre> - <p>Using <a href="https://scoop.sh/">Scoop</a> (windows): - <pre>scoop install deno</pre> - <p>Using <a href="https://crates.io/crates/deno_cli">Cargo</a>: - <pre>cargo install deno_cli</pre> - <p>See <a href="https://github.com/denoland/deno_install">deno_install</a> for more installation options.</p> - - <h2 id="example">Example <a href="#example">#</a></h2> - - <p>Try running a simple program:</p> - <pre>deno https://deno.land/welcome.ts</pre> - - <p>Or a more complex one:</p> - - <pre><code class="typescript language-typescript">import { serve } from "<a href="https://deno.land/std@v0.19.0/http/server.ts">https://deno.land/std@v0.19.0/http/server.ts</a>"; -const body = new TextEncoder().encode("Hello World\n"); -const s = serve(":8000"); -window.onload = async () => { - console.log("http://localhost:8000/"); - for await (const req of s) { - req.respond({ body }); - } -};</code></pre> - - <h2 id="dig-in">Dig in... <a href="#dig-in">#</a></h2> - - <p> - <b><a href="manual.html">Manual</a></b> - </p> - - <p><a href="https://deno.land/typedoc/">API Reference</a></p> - - <p> - <a href="https://deno.land/std/">Standard Modules</a> - </p> - - <p><a href="style_guide.html">Style Guide</a></p> - - <p><a href="https://deno.land/x/">Module repository</a></p> - - <p><a href="https://twitter.com/deno_land">Twitter Account</a></p> - - <p> - <a href="https://github.com/denoland/deno/blob/master/Releases.md" - >Release notes</a - > - </p> - - <p><a href="https://gitter.im/denolife/Lobby">Community chat room</a></p> - - <p><a href="benchmarks.html">Benchmarks</a></p> - - <p> - <a href="https://github.com/denolib/awesome-deno" - >A curated list of awesome Deno things</a - > - </p> - - <script> - // Disable automatic language detection - hljs.configure({ - languages: [], - }); - - hljs.initHighlighting(); - </script> - - </main> - </body> -</html> |