From 20f4a65d727f1f66130744260e4275ddbbdc9dba Mon Sep 17 00:00:00 2001 From: "Ajeet Singh Raina, Docker Captain, ARM Innovator, RedisInc" Date: Wed, 2 Mar 2022 09:32:42 +0530 Subject: [PATCH 1/3] Update index.deno.mdx --- docs/develop/deno/index.deno.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/develop/deno/index.deno.mdx b/docs/develop/deno/index.deno.mdx index fb56d8eb3c..f0dbb6d6a4 100644 --- a/docs/develop/deno/index.deno.mdx +++ b/docs/develop/deno/index.deno.mdx @@ -54,13 +54,13 @@ deno 1.19.0 ``` -### Step 2. Run Redis locally +### Step 3. Run Redis locally ``` docker run -d -p 6379:6379 redislabs/redismod ``` -### Step 3. Create an empty file with the following content +### Step 4. Create an empty file with the following content The following code creates a connection to Redis using Deno: @@ -79,7 +79,7 @@ const foo = await redis.get("foo"); Replace the values of hostname and port to match those of your Redis database, and add an extra password field if needed. -### Step 4. Executing the script +### Step 5. Executing the script Deno can grab scripts from multiple sources. For example, you can provide a filename, a url, or'-' to read the file from stdin. You can run a JavaScript or TypeScript program by executing ```deno run```. From f4387666ae7c8d6bc42473e8dc046f1594edff6e Mon Sep 17 00:00:00 2001 From: "Ajeet Singh Raina, Docker Captain, ARM Innovator, RedisInc" Date: Wed, 2 Mar 2022 13:55:07 +0530 Subject: [PATCH 2/3] Update index.deno.mdx --- docs/develop/deno/index.deno.mdx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/develop/deno/index.deno.mdx b/docs/develop/deno/index.deno.mdx index f0dbb6d6a4..ce33eb45f6 100644 --- a/docs/develop/deno/index.deno.mdx +++ b/docs/develop/deno/index.deno.mdx @@ -6,20 +6,20 @@ slug: /develop/deno/ --- -[With over 80,000 stars and 670+ contributors](https://github.com/denoland/deno), Deno is a popular modern runtime for JavaScript and TypeScript. It is built on [V8](https://v8.dev/) - an open-source JavaScript engine developed by the Chromium Project for Google Chrome and Chromium web browsers. +[With over 80,000 stars and 670+ contributors](https://github.com/denoland/deno), Deno is a popular modern runtime for JavaScript and TypeScript. It is built on [V8](https://v8.dev/), an open-source JavaScript engine developed by the Chromium Project for Google Chrome and Chromium web browsers. ### Features of Deno -- Deno is secure by default. It executes code in a sandbox environment, disallowing runtime access to the underlying filesystem, environment variables and scripts. +- Deno is secure by default. It executes code in a sandbox environment, disallowing runtime access to the underlying filesystem, environment variables and scripts. - Deno supports both JavaScript and TypeScript out of the box. - Deno ships as a single executable with no dependencies. -- Comes with built-in utilities like a dependency inspector (deno info) and a code formatter (deno fmt). +- Comes with built-in utilities such as a dependency inspector (deno info) and a code formatter (deno fmt). ### Getting Started -[deno.land/x](https://deno.land/x) is a hosting service for Deno scripts. It caches releases of open source modules stored on GitHub and serves them at one easy to remember domain. These modules contain small scripts that demonstrate use of Deno and its standard module. +[deno.land/x](https://deno.land/x) is a hosting service for Deno scripts. It caches releases of open source modules stored on GitHub and serves them at one easy-to-remember domain. These modules contain small scripts that demonstrate use of Deno and its standard module. The basic format of code URLs is @@ -102,7 +102,7 @@ OK -### Further References: +### Additional references: - [Getting Started with Deno Command Line Interface](https://deno.land/manual@v1.19.0/getting_started/command_line_interface) - [Deno Releases Page](https://github.com/denoland/deno/releases) From 1515d88cbe0a84800b578eefa1e47c551aa8de6b Mon Sep 17 00:00:00 2001 From: "Ajeet Singh Raina, Docker Captain, ARM Innovator, RedisInc" Date: Wed, 2 Mar 2022 13:56:21 +0530 Subject: [PATCH 3/3] Update index.deno.mdx --- docs/develop/deno/index.deno.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/develop/deno/index.deno.mdx b/docs/develop/deno/index.deno.mdx index ce33eb45f6..a189136dd7 100644 --- a/docs/develop/deno/index.deno.mdx +++ b/docs/develop/deno/index.deno.mdx @@ -81,7 +81,7 @@ Replace the values of hostname and port to match those of your Redis database, a ### Step 5. Executing the script -Deno can grab scripts from multiple sources. For example, you can provide a filename, a url, or'-' to read the file from stdin. +Deno can grab scripts from multiple sources. For example, you can provide a filename, a URL, or'-' to read the file from stdin. You can run a JavaScript or TypeScript program by executing ```deno run```.