summaryrefslogtreecommitdiff
path: root/std/examples/README.md
diff options
context:
space:
mode:
authorCasper Beyer <caspervonb@pm.me>2021-02-02 19:05:46 +0800
committerGitHub <noreply@github.com>2021-02-02 12:05:46 +0100
commit6abf126c2a7a451cded8c6b5e6ddf1b69c84055d (patch)
treefd94c013a19fcb38954844085821ec1601c20e18 /std/examples/README.md
parenta2b5d44f1aa9d64f448a2a3cc2001272e2f60b98 (diff)
chore: remove std directory (#9361)
This removes the std folder from the tree. Various parts of the tests are pretty tightly dependent on std (47 direct imports and 75 indirect imports, not counting the cli tests that use them as fixtures) so I've added std as a submodule for now.
Diffstat (limited to 'std/examples/README.md')
-rw-r--r--std/examples/README.md61
1 files changed, 0 insertions, 61 deletions
diff --git a/std/examples/README.md b/std/examples/README.md
deleted file mode 100644
index cdc477833..000000000
--- a/std/examples/README.md
+++ /dev/null
@@ -1,61 +0,0 @@
-# Deno example programs
-
-This module contains small scripts that demonstrate use of Deno and its standard
-module.
-
-You can run these examples using just their URL or install the example as an
-executable script which references the URL. (Think of installing as creating a
-bookmark to a program.)
-
-### A TCP echo server
-
-```shell
-deno run --allow-net https://deno.land/std/examples/echo_server.ts
-```
-
-Or
-
-```shell
-deno install --allow-net https://deno.land/std/examples/echo_server.ts
-```
-
-### cat - print file to standard output
-
-```shell
-deno install --allow-read -n deno_cat https://deno.land/std/examples/cat.ts
-deno_cat file.txt
-```
-
-### catj - print flattened JSON to standard output
-
-A very useful command by Soheil Rashidi ported to Deno.
-
-```shell
-deno install --allow-read https://deno.land/std/examples/catj.ts
-catj example.json
-catj file1.json file2.json
-echo example.json | catj -
-```
-
-### curl - print the contents of a url to standard output
-
-```shell
-deno run --allow-net=deno.land https://deno.land/std/examples/curl.ts https://deno.land/
-```
-
-### gist - easily create and upload Gists
-
-```
-export GIST_TOKEN=ABC # Generate at https://github.com/settings/tokens
-deno install --allow-net --allow-env https://deno.land/std/examples/gist.ts
-gist --title "Example gist 1" script.ts
-gist --t "Example gist 2" script2.ts
-```
-
-### chat - WebSocket chat server and browser client
-
-```shell
-deno run --allow-net --allow-read https://deno.land/std/examples/chat/server.ts
-```
-
-Open http://localhost:8080 on the browser.