1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-09 07:39:15 -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> </head>
<body> <body>
<main> <main>
<a href="/"><img src="deno_logo_2.gif"></a>
<h1>Deno Continuous Benchmarks</h1> <h1>Deno Continuous Benchmarks</h1>
<p> <p>

View file

@ -8,6 +8,7 @@
</head> </head>
<body> <body>
<main> <main>
<a href="/"><img src="deno_logo_2.gif"></a>
<div id="manual"></div> <div id="manual"></div>
<script src="https://unpkg.com/showdown@1.9.0/dist/showdown.js"></script> <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 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 adopters, but expect bugs large and small. The API is subject to change without
notice. notice. [Bug reports](https://github.com/denoland/deno/issues) do help!
[Bug reports](https://github.com/denoland/deno/issues) do help!
## Introduction ## Introduction
### Philosophy ### 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 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, 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 you should be able to execute it with nothing more than the 50 megabyte deno
href="https://deno.land/benchmarks.html#size">the 50M deno executable</a>. executable.
Deno explicitly takes on the role of both runtime and package manager. It uses a Deno explicitly takes on the role of both runtime and package manager. It uses a
standard browser-compatible protocol for loading modules: URLs. 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 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. (audited) standard modules</a> that are guaranteed to work with Deno.
Deno is opinionated and defines <a ### Goals
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
- Support TypeScript out of the box. - Support TypeScript out of the box.
- No `package.json`. No npm. Not explicitly compatible with Node.
- Like the browser, allows imports from URLs: - Like the browser, allows imports from URLs:
```typescript ```typescript
@ -64,13 +56,19 @@ formatters</a>.
- Always dies on uncaught errors. - 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) - [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 - No `package.json`.
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 npm.
- Not explicitly compatible with Node.
## Setup ## Setup

View file

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