diff options
author | Peter Shank <peter@shank.com> | 2021-04-01 02:20:43 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-01 20:20:43 +1100 |
commit | 5107aac54269cfd2d557a642d2c71b2585b74fad (patch) | |
tree | 771d4cd65ad227ef62b118aba2e93a3d3183ae25 /docs/introduction.md | |
parent | f9ced5cc149c10df6b6a5b04691e89eee0f2c9db (diff) |
docs: copyedit introduction for clarity (#9805)
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
Diffstat (limited to 'docs/introduction.md')
-rw-r--r-- | docs/introduction.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/introduction.md b/docs/introduction.md index 4ca9bddda..d494cacc9 100644 --- a/docs/introduction.md +++ b/docs/introduction.md @@ -17,7 +17,7 @@ It's built on V8, Rust, and Tokio. [a set of reviewed (audited) standard modules](https://github.com/denoland/deno_std) that are guaranteed to work with Deno. -- Scripts can be bundled into a single JavaScript file. +- Can bundle scripts into a single JavaScript file. ## Philosophy @@ -35,7 +35,7 @@ have been historically written with Bash or Python. ## Goals -- Only ship a single executable (`deno`). +- Ship as just a single executable (`deno`). - Provide secure defaults. - Unless specifically allowed, scripts can't access files, the environment, or the network. @@ -45,7 +45,7 @@ have been historically written with Bash or Python. also be able to be run in a modern web browser without change. - Provide built-in tooling to improve developer experience. - E.g. unit testing, code formatting, and linting. -- Not leak V8 concepts into user land. +- Keep V8 concepts out of user land. - Serve HTTP efficiently. ## Comparison to Node.js @@ -57,8 +57,8 @@ have been historically written with Bash or Python. than Node. - Deno requires explicit permissions for file, network, and environment access. - Deno always dies on uncaught errors. -- Uses "ES Modules" and does not support `require()`. Third party modules are - imported via URLs: +- Deno uses "ES Modules" and does not support `require()`. Third party modules + are imported via URLs: ```javascript import * as log from "https://deno.land/std@$STD_VERSION/log/mod.ts"; @@ -66,7 +66,7 @@ have been historically written with Bash or Python. ## Other key behaviors -- Remote code is fetched and cached on first execution, and never updated until +- Fetch and cache remote code upon first execution, and never update it until the code is run with the `--reload` flag. (So, this will still work on an airplane.) - Modules/files loaded from remote URLs are intended to be immutable and |