1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 23:34:47 -05:00

More web design work (#1759)

This commit is contained in:
Ryan Dahl 2019-02-12 23:54:08 -05:00 committed by GitHub
parent 163c334521
commit 473d7317ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 19 additions and 18 deletions

View file

@ -9,6 +9,7 @@
</head>
<body>
<main>
<a href="/"><img src="deno_logo_2.gif"></a>
<h1>Deno Continuous Benchmarks</h1>
<p>

View file

@ -8,6 +8,7 @@
</head>
<body>
<main>
<a href="/"><img src="deno_logo_2.gif"></a>
<div id="manual"></div>
<script src="https://unpkg.com/showdown@1.9.0/dist/showdown.js"></script>

View file

@ -6,20 +6,19 @@
A word of caution: Deno is very much under development. We encourage brave early
adopters, but expect bugs large and small. The API is subject to change without
notice.
[Bug reports](https://github.com/denoland/deno/issues) do help!
notice. [Bug reports](https://github.com/denoland/deno/issues) do help!
## Introduction
### Philosophy
Deno aims to be a useful multitool tool for the modern programmer.
Deno aims to be a productive and secure scripting environment for the modern
programmer.
It will always be distributed as a single executable - and that executable will
be sufficient software to run any deno program. Given a URL to a deno program,
you should be able to execute it with nothing more than <a
href="https://deno.land/benchmarks.html#size">the 50M deno executable</a>.
you should be able to execute it with nothing more than the 50 megabyte deno
executable.
Deno explicitly takes on the role of both runtime and package manager. It uses a
standard browser-compatible protocol for loading modules: URLs.
@ -30,17 +29,10 @@ the default being the most restrictive secure sandbox.
Deno provides <a href="https://github.com/denoland/deno_std">a set of reviewed
(audited) standard modules</a> that are guaranteed to work with Deno.
Deno is opinionated and defines <a
href="https://github.com/denoland/deno_std#style-guide">style guides</a> and has
<a href="https://github.com/denoland/deno_std/tree/master/prettier">automated
formatters</a>.
### Design goals
### Goals
- Support TypeScript out of the box.
- No `package.json`. No npm. Not explicitly compatible with Node.
- Like the browser, allows imports from URLs:
```typescript
@ -64,13 +56,19 @@ formatters</a>.
- Always dies on uncaught errors.
- Browser compatible: The subset of Deno programs which are written completely
in JavaScript and do not use the global `Deno` namespace (or feature test for
it), ought to also be able to be run in a modern web browser without change.
- [Aims to support top-level `await`.](https://github.com/denoland/deno/issues/471)
### Browser compatibility
### Non-goals
The subset of Deno programs which are written completely in JavaScript and do
not use the global `Deno` namespace (or feature test for it), ought to also be
able to be run in a modern web browser without change.
- No `package.json`.
- No npm.
- Not explicitly compatible with Node.
## Setup

View file

@ -8,6 +8,7 @@
</head>
<body>
<main>
<a href="/"><img src="deno_logo_2.gif"></a>
<div id="manual"></div>
<script src="https://unpkg.com/showdown@1.9.0/dist/showdown.js"></script>